https://bugzilla.novell.com/show_bug.cgi?id=424097 Summary: adaptx-0.9.13: some Java source code errors Product: openSUSE 11.1 Version: Factory Platform: All OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de Found By: --- I just tried to analyse the Suse Linux package adaptx-0.9.13 with the most excellent Java static analysis tool pmd. I configured the pmd tool to use its strings ruleset. A subset of the results were /usr/src/packages/BUILD/adaptx-0.9.13-src/src/main/org/exolab/adaptx/xpath/engine/EqualityExprImpl.java:264 Avoid appending characters as strings in StringBuffer.append. /usr/src/packages/BUILD/adaptx-0.9.13-src/src/main/org/exolab/adaptx/xpath/engine/EqualityExprImpl.java:266 Avoid appending characters as strings in StringBuffer.append. /usr/src/packages/BUILD/adaptx-0.9.13-src/src/main/org/exolab/adaptx/xpath/engine/PIExpr.java:65 Avoid appending characters as strings in StringBuffer.append. /usr/src/packages/BUILD/adaptx-0.9.13-src/src/main/org/exolab/adaptx/xpath/engine/PIExpr.java:68 Avoid appending characters as strings in StringBuffer.append. /usr/src/packages/BUILD/adaptx-0.9.13-src/src/main/org/exolab/adaptx/xpath/engine/Token.java:172 Avoid appending characters as strings in StringBuffer.append. Tests show a 20% reduction in execution time by changing the string of length one into a single character. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.