[Nice-commit] Nice/src/nice/tools/doc htmlwriter.nice,1.27,1.28
Brought to you by:
bonniot
From: Daniel B. <bo...@us...> - 2005-01-12 16:07:07
|
Update of /cvsroot/nice/Nice/src/nice/tools/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28174/src/nice/tools/doc Modified Files: htmlwriter.nice Log Message: Use String.valueOf instead of toString on now non-null value. Index: htmlwriter.nice =================================================================== RCS file: /cvsroot/nice/Nice/src/nice/tools/doc/htmlwriter.nice,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** htmlwriter.nice 26 Nov 2004 14:54:56 -0000 1.27 --- htmlwriter.nice 12 Jan 2005 16:06:55 -0000 1.28 *************** *** 331,335 **** for(MethodDeclaration m : methods) { writer.write("<li><a href='" escapeFilename(getMethodFilename(m)) ".html'>" htmlEncode(m.getName()) "</a>" + ! ": " htmlEncode(m.getType().toString()) "</li>\n"); } writer.write("</ul>\n"); --- 331,335 ---- for(MethodDeclaration m : methods) { writer.write("<li><a href='" escapeFilename(getMethodFilename(m)) ".html'>" htmlEncode(m.getName()) "</a>" + ! ": " htmlEncode(String.valueOf(m.getType())) "</li>\n"); } writer.write("</ul>\n"); *************** *** 429,433 **** */ String getMethodFilename(MethodDeclaration md) { ! return md.getName().toString() + md.getType().toString().hashCode(); } --- 429,433 ---- */ String getMethodFilename(MethodDeclaration md) { ! return md.getName().toString() + String.valueOf(md.getType()).hashCode(); } *************** *** 503,507 **** for(MethodDeclaration m : methods) { buffer.append(" <li><a href='" escapeFilename(getMethodFilename(m)) ".html'>" htmlEncode(m.getName()) "</a>" + ! ": " htmlEncode(m.getType().toString()) "</li>\n"); } buffer.append(" </ul>\n"); --- 503,507 ---- for(MethodDeclaration m : methods) { buffer.append(" <li><a href='" escapeFilename(getMethodFilename(m)) ".html'>" htmlEncode(m.getName()) "</a>" + ! ": " htmlEncode(String.valueOf(m.getType())) "</li>\n"); } buffer.append(" </ul>\n"); |