Fixed mistake in replace call.

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6527 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Ryan Gustafson
2008-09-27 06:59:54 +00:00
parent 224af751ac
commit c08563eca5

@ -146,7 +146,7 @@ public class XmlParser {
else {
if ("toString".equals(method.getName())) {
String s = ((Node) node).getNodeName();
s = s.replace('#', '');
s = s.replace("#", "");
return s;
}
Object result = method.invoke(node, args);