[Fb-contrib-commit] fb-contrib/src/com/mebigfatguy/fbcontrib/detect InefficientStringBuffering.java,
Brought to you by:
dbrosius
|
From: Dave B. <dbr...@us...> - 2005-10-18 04:22:51
|
Update of /cvsroot/fb-contrib/fb-contrib/src/com/mebigfatguy/fbcontrib/detect In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23849/src/com/mebigfatguy/fbcontrib/detect Modified Files: InefficientStringBuffering.java Log Message: Index: InefficientStringBuffering.java =================================================================== RCS file: /cvsroot/fb-contrib/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/InefficientStringBuffering.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- InefficientStringBuffering.java 18 Oct 2005 03:56:57 -0000 1.4 +++ InefficientStringBuffering.java 18 Oct 2005 04:22:42 -0000 1.5 @@ -65,7 +65,7 @@ if ("Ljava/lang/StringBuffer;".equals(signature) || "Ljava/lang/StringBuilder;".equals(signature)) { bugReporter.reportBug( - new BugInstance(this, "ISB_INEFFICIENT_STRING_BUFFERING", "toString".equals(this.getMethodName()) ? LOW_PRIORITY : NORMAL_PRIORITY) + new BugInstance(this, "ISB_INEFFICIENT_STRING_BUFFERING", "toString".equals(getMethodName()) ? LOW_PRIORITY : NORMAL_PRIORITY) .addClass(this) .addMethod(this) .addSourceLine(this)); |