[Nice-commit] Nice/src/nice/tools/doc htmlwriter.nice,1.21,1.22
Brought to you by:
bonniot
From: Francis B. <fb...@us...> - 2004-09-21 14:11:40
|
Update of /cvsroot/nice/Nice/src/nice/tools/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31149/src/nice/tools/doc Modified Files: htmlwriter.nice Log Message: source file names are not sorted alphanumerically in output. Index: htmlwriter.nice =================================================================== RCS file: /cvsroot/nice/Nice/src/nice/tools/doc/htmlwriter.nice,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** htmlwriter.nice 21 Sep 2004 13:42:32 -0000 1.21 --- htmlwriter.nice 21 Sep 2004 14:11:27 -0000 1.22 *************** *** 238,242 **** //we use a map instead of a set of definitions because //we also want keep a list of which files contain which definitions. ! Map<File, List<Definition>> map = new HashMap(); for(Definition d : p.getDefinitions().definitions()) { --- 238,243 ---- //we use a map instead of a set of definitions because //we also want keep a list of which files contain which definitions. ! //the list is sorted by filename (treemap automatically sorts). ! Map<File, List<Definition>> map = new TreeMap(); for(Definition d : p.getDefinitions().definitions()) { |