[Fb-contrib-commit] SF.net SVN: fb-contrib: [450] trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/det
Brought to you by:
dbrosius
From: <dbr...@us...> - 2006-04-17 03:29:34
|
Revision: 450 Author: dbrosius Date: 2006-04-16 20:29:28 -0700 (Sun, 16 Apr 2006) ViewCVS: http://svn.sourceforge.net/fb-contrib/?rev=450&view=rev Log Message: ----------- Manually cleanup memory now that StatelessDetector is removed. Modified Paths: -------------- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/AbstractClassEmptyMethods.java Modified: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/AbstractClassEmptyMethods.java =================================================================== --- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/AbstractClassEmptyMethods.java 2006-04-17 03:28:15 UTC (rev 449) +++ trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/AbstractClassEmptyMethods.java 2006-04-17 03:29:28 UTC (rev 450) @@ -27,14 +27,13 @@ import edu.umd.cs.findbugs.BugInstance; import edu.umd.cs.findbugs.BugReporter; import edu.umd.cs.findbugs.BytecodeScanningDetector; -import edu.umd.cs.findbugs.StatelessDetector; import edu.umd.cs.findbugs.ba.ClassContext; /** * finds methods of abstract classes that do nothing, or just throw exceptions. Since this is an * abstract class, it may be more correct to just leave the method abstract. */ -public class AbstractClassEmptyMethods extends BytecodeScanningDetector implements StatelessDetector +public class AbstractClassEmptyMethods extends BytecodeScanningDetector { public static final int SEEN_NOTHING = 0; public static final int SEEN_NEW = 1; @@ -64,17 +63,6 @@ } /** - * clone this detector so that it can be a StatelessDetector. - * - * @return a clone of this object - * @throws CloneNotSupportedException never - */ - @Override - public Object clone() throws CloneNotSupportedException { - return super.clone(); - } - - /** * overrides the visitor to check for abstract classes. * * @param classContext the context object that holds the JavaClass being parsed This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |