Revision: 474
Author: dbrosius
Date: 2006-04-17 20:04:50 -0700 (Mon, 17 Apr 2006)
ViewCVS: http://svn.sourceforge.net/fb-contrib/?rev=474&view=rev
Log Message:
-----------
Manually cleanup memory now that StatelessDetector is removed.
Modified Paths:
--------------
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/NonCollectionMethodUse.java
Modified: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/NonCollectionMethodUse.java
===================================================================
--- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/NonCollectionMethodUse.java 2006-04-18 03:03:53 UTC (rev 473)
+++ trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/NonCollectionMethodUse.java 2006-04-18 03:04:50 UTC (rev 474)
@@ -24,13 +24,12 @@
import edu.umd.cs.findbugs.BugInstance;
import edu.umd.cs.findbugs.BugReporter;
import edu.umd.cs.findbugs.BytecodeScanningDetector;
-import edu.umd.cs.findbugs.StatelessDetector;
/**
* looks for method calls to collection classes where the method is not defined by the Collections
* interface, and an equivalent method exists in the interface.
*/
-public class NonCollectionMethodUse extends BytecodeScanningDetector implements StatelessDetector
+public class NonCollectionMethodUse extends BytecodeScanningDetector
{
private static Set<String> oldMethods = new HashSet<String>();
static {
@@ -55,17 +54,7 @@
this.bugReporter = bugReporter;
}
- /**
- * clone this detector so that it can be a StatelessDetector
- *
- * @return a clone of this object
- */
@Override
- public Object clone() throws CloneNotSupportedException {
- return super.clone();
- }
-
- @Override
public void sawOpcode(int seen) {
if (seen == INVOKEVIRTUAL) {
String className = getClassConstantOperand();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|