commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commit-cp] cp-tools ChangeLog src/gnu/localegen/Properties...


From: Andrew John Hughes
Subject: [commit-cp] cp-tools ChangeLog src/gnu/localegen/Properties...
Date: Fri, 20 Jan 2012 17:43:08 +0000

CVSROOT:        /sources/classpath
Module name:    cp-tools
Changes by:     Andrew John Hughes <gnu_andrew> 12/01/20 17:43:08

Modified files:
        .              : ChangeLog 
        src/gnu/localegen: PropertiesGenerator.java 

Log message:
        Sort the keys in the property file so different revisions are 
comparable, resulting in simpler patches.
        
        2012-01-20  Andrew John Hughes  <address@hidden>
        
                Sort keys to make different revisions of property files
                comparable.
                * src/gnu/localegen/PropertiesGenerator.java,
                (TimeZoneContent.generateContent(PrintWriter)): Sort
                keys before iterating over them so timezones are listed
                in alphabetical order.
                (HashtableContent.table): Change type to SortedMap.
                (HashtableContent(String,SortedMap)): Accept SortedMap not Map.
                (HashtableContent(String,Map)): New constructor which converts
                the Map to a sorted one using natural ordering.
                (computeCurrencies(Map)): Use a TreeMap rather than a HashMap
                so keys are sorted.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/cp-tools/ChangeLog?cvsroot=classpath&r1=1.73&r2=1.74
http://cvs.savannah.gnu.org/viewcvs/cp-tools/src/gnu/localegen/PropertiesGenerator.java?cvsroot=classpath&r1=1.10&r2=1.11



reply via email to

[Prev in Thread] Current Thread [Next in Thread]