[Nice-commit] Nice/src/nice/tools/doc htmlwriter.nice,1.17,1.18
Brought to you by:
bonniot
From: Francis B. <fb...@us...> - 2004-09-05 13:41:27
|
Update of /cvsroot/nice/Nice/src/nice/tools/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21111/src/nice/tools/doc Modified Files: htmlwriter.nice Log Message: Fixed a bug where the class hierarchy was being incorrectly html encoded. Index: htmlwriter.nice =================================================================== RCS file: /cvsroot/nice/Nice/src/nice/tools/doc/htmlwriter.nice,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** htmlwriter.nice 5 Sep 2004 12:49:39 -0000 1.17 --- htmlwriter.nice 5 Sep 2004 13:41:18 -0000 1.18 *************** *** 79,91 **** * +--Class */ ! String hierarchy = c.getName().toString(); for(int i = 0; i < list.size(); i++) { String spaces = ""; for(int j = 0; j < (list.size()-i)*6-3; j++) spaces = spaces + ' '; ! hierarchy = list.get(i).getName() + "\n" + spaces + "|\n" + spaces + "+--" + hierarchy; } writer.write("<pre>\n"); ! writer.write(htmlEncode(hierarchy)); writer.write("</pre>\n"); --- 79,91 ---- * +--Class */ ! String hierarchy = htmlEncode(c.getName()); for(int i = 0; i < list.size(); i++) { String spaces = ""; for(int j = 0; j < (list.size()-i)*6-3; j++) spaces = spaces + ' '; ! hierarchy = htmlEncode(list.get(i).getName()) + "\n" + spaces + "|\n" + spaces + "+--" + hierarchy; } writer.write("<pre>\n"); ! writer.write(hierarchy); writer.write("</pre>\n"); |