Revision: 476
Author: dbrosius
Date: 2006-04-18 15:23:10 -0700 (Tue, 18 Apr 2006)
ViewCVS: http://svn.sourceforge.net/fb-contrib/?rev=476&view=rev
Log Message:
-----------
Manually cleanup memory now that StatelessDetector is removed.
Modified Paths:
--------------
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ManualArrayCopy.java
Modified: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ManualArrayCopy.java
===================================================================
--- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ManualArrayCopy.java 2006-04-18 03:13:27 UTC (rev 475)
+++ trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ManualArrayCopy.java 2006-04-18 22:23:10 UTC (rev 476)
@@ -23,13 +23,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 methods that copy data from one array to another using a loop. It is
* better performing to use System.arraycopy to do such copying as this is a native method.
*/
-public class ManualArrayCopy extends BytecodeScanningDetector implements StatelessDetector
+public class ManualArrayCopy extends BytecodeScanningDetector
{
public static final int SEEN_NOTHING = 0;
public static final int SEEN_ARRAY1_LOAD = 1;
@@ -56,11 +55,6 @@
* @return a clone of this object
*/
@Override
- public Object clone() throws CloneNotSupportedException {
- return super.clone();
- }
-
- @Override
public void visitCode(Code obj) {
state = SEEN_NOTHING;
super.visitCode(obj);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|