@@ -326,8 +326,8 @@ protected static String getEffectiveValue (Map <String, String> locale_data, Str
326
326
protected static void printTimezoneData () throws Exception
327
327
{
328
328
var data = new LinkedHashMap <ZoneId , List <Object >> ();
329
- var matching_abbreviation_aliases = new LinkedHashMap <String , ZoneId > ();
330
- var aliases = new LinkedHashMap <String , Set <ZoneId >> ();
329
+ var matching_abbreviation_aliases = new HashMap <String , ZoneId > ();
330
+ var aliases = new HashMap <String , Set <ZoneId >> ();
331
331
var abbreviation_retriever = DateTimeFormatter .ofPattern ("z" , Locale .ENGLISH );
332
332
var full_name_retriever = DateTimeFormatter .ofPattern ("zzzz" , Locale .ENGLISH );
333
333
var utc_formatter = DateTimeFormatter .ofPattern ("yyyy-MM-dd HH:mm:ss z" );
@@ -496,7 +496,7 @@ else if (entry.getValue ().size () != 1)
496
496
// Aliases don't go into names: they are relatively few and are not used for
497
497
// formatting or parsing, currently only when determining OS timezone.
498
498
System .out .format ("(:aliases\n %s)\n " ,
499
- aliases .entrySet ().stream ()
499
+ aliases .entrySet ().stream (). sorted (( a , b ) -> a . getKey (). compareTo ( b . getKey ()))
500
500
.map ((entry ) -> String .format ("(%s . %s)" , quoteString (entry .getKey ()), entry .getValue ().iterator ().next ().getId ()))
501
501
.collect (Collectors .joining ("\n " )));
502
502
0 commit comments