[Unicode]   Common Locale Data Repository : Bug Tracking Home | Site Map | Search
 
Modify

CLDR Ticket #7644(accepted unknown)

Opened 3 years ago

Last modified 2 years ago

Reinstate "special vetting privileges" past end of vetting?

Reported by: srl Owned by: srl
Component: survey Data Locale:
Phase: dsub Review:
Weeks: Data Xpath:
Xref:

Description

...pasting here because I don't have a ticket for it

clean up the special user code.. delete the "special CLDR 1.5" codepath.. reenable it for 26 if need be

Index: src/org/unicode/cldr/web/UserRegistry.java
===================================================================
--- src/org/unicode/cldr/web/UserRegistry.java	(revision 10607)
+++ src/org/unicode/cldr/web/UserRegistry.java	(working copy)
@@ -20,6 +20,7 @@
 import java.sql.ResultSet;
 import java.sql.SQLException;
 import java.sql.Statement;
+import java.util.Collections;
 import java.util.Date;
 import java.util.HashMap;
 import java.util.HashSet;
@@ -2089,7 +2090,9 @@
             reread = true;
         }
         if (reread == true) {
-            doReadSpecialUsers();
+            if (!doReadSpecialUsers()) {
+                specialUsers = Collections.unmodifiableSet(new TreeSet<User>());
+            }
         }
         return specialUsers;
     }
@@ -2184,7 +2187,7 @@
             // externalErrorSet = newSet;
             // externalErrorLastMod = newMod;
             // externalErrorFailed = false;
-            specialUsers = newSet;
+            specialUsers = Collections.unmodifiableSet(newSet);
             return true;
         } catch (IOException ioe) {
             System.err.println("Reading externalErrorFile: " + "specialusers.txt - " + ioe.toString());

Attachments

Change History

comment:1 Changed 3 years ago by srl

  • Summary changed from clean up specialUsers to Reinstate "special vetting privileges" past end of vetting?

comment:2 Changed 3 years ago by emmons

  • Owner changed from anybody to srl
  • Priority changed from assess to medium
  • Status changed from new to assigned
  • Component changed from unknown to survey
  • Milestone changed from UNSCH to 27dsub

comment:3 Changed 3 years ago by markus

  • Phase set to dsub
  • Milestone changed from 27dsub to 27

comment:4 Changed 3 years ago by srl

  • Milestone changed from 27 to 28

roll

comment:5 Changed 3 years ago by srl

  • Status changed from assigned to accepted

comment:6 Changed 2 years ago by emmons

  • Milestone changed from 28 to 29

Moving all survey related to 29dsub

comment:7 Changed 2 years ago by emmons

  • Milestone changed from 29 to upcoming

Auto move of all 29 -> upcoming

View

Add a comment

Modify Ticket

Action
as accepted
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.