[Fb-contrib-commit] SF.net SVN: fb-contrib: [799] trunk/fb-contrib/src/com/mebigfatguy/ fbcontrib/
Brought to you by:
dbrosius
From: <dbr...@us...> - 2007-01-28 21:00:36
|
Revision: 799 http://svn.sourceforge.net/fb-contrib/?rev=799&view=rev Author: dbrosius Date: 2007-01-28 13:00:11 -0800 (Sun, 28 Jan 2007) Log Message: ----------- NAB fixes Modified Paths: -------------- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/SuspiciousComparatorReturnValues.java Modified: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/SuspiciousComparatorReturnValues.java =================================================================== --- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/SuspiciousComparatorReturnValues.java 2007-01-28 20:58:56 UTC (rev 798) +++ trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/SuspiciousComparatorReturnValues.java 2007-01-28 21:00:11 UTC (rev 799) @@ -91,7 +91,7 @@ String methodSig = getMethodSig(); if (methodName.equals(methodInfo[0]) && methodSig.endsWith(methodInfo[2]) - && (Type.getArgumentTypes(methodSig).length == Integer.valueOf(methodInfo[1]).intValue())) { + && (Type.getArgumentTypes(methodSig).length == Integer.parseInt(methodInfo[1]))) { stack.resetForMethodEntry(this); indeterminate = false; seenNegative = false; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |