[Fb-contrib-commit] SF.net SVN: fb-contrib: [735] trunk/fb-contrib/src/com/mebigfatguy/ fbcontrib
Brought to you by:
dbrosius
From: <dbr...@us...> - 2006-12-17 07:50:42
|
Revision: 735 http://svn.sourceforge.net/fb-contrib/?rev=735&view=rev Author: dbrosius Date: 2006-12-16 23:47:05 -0800 (Sat, 16 Dec 2006) Log Message: ----------- warnings Modified Paths: -------------- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/collect/CollectStatistics.java trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ClassEnvy.java Modified: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/collect/CollectStatistics.java =================================================================== --- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/collect/CollectStatistics.java 2006-12-17 07:41:11 UTC (rev 734) +++ trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/collect/CollectStatistics.java 2006-12-17 07:47:05 UTC (rev 735) @@ -1,12 +1,10 @@ package com.mebigfatguy.fbcontrib.collect; import org.apache.bcel.classfile.Code; -import org.apache.bcel.classfile.Method; import edu.umd.cs.findbugs.BugReporter; import edu.umd.cs.findbugs.BytecodeScanningDetector; import edu.umd.cs.findbugs.NonReportingDetector; -import edu.umd.cs.findbugs.ba.ClassContext; public class CollectStatistics extends BytecodeScanningDetector implements NonReportingDetector { Modified: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ClassEnvy.java =================================================================== --- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ClassEnvy.java 2006-12-17 07:41:11 UTC (rev 734) +++ trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ClassEnvy.java 2006-12-17 07:47:05 UTC (rev 735) @@ -366,8 +366,8 @@ if (depth == 0) return true; - int dot1 = packName1.indexOf("."); - int dot2 = packName2.indexOf("."); + int dot1 = packName1.indexOf('.'); + int dot2 = packName2.indexOf('.'); if (dot1 < 0) return (dot2 < 0); else if (dot2 < 0) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |