[Fb-contrib-commit] SF.net SVN: fb-contrib: [472] trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/det
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2006-04-18 03:03:20
|
Revision: 472 Author: dbrosius Date: 2006-04-17 20:03:13 -0700 (Mon, 17 Apr 2006) ViewCVS: http://svn.sourceforge.net/fb-contrib/?rev=472&view=rev Log Message: ----------- Manually cleanup memory now that StatelessDetector is removed. Modified Paths: -------------- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/NeedlessAutoboxing.java Modified: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/NeedlessAutoboxing.java =================================================================== --- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/NeedlessAutoboxing.java 2006-04-18 03:01:31 UTC (rev 471) +++ trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/NeedlessAutoboxing.java 2006-04-18 03:03:13 UTC (rev 472) @@ -32,7 +32,7 @@ * Looks for methods that pass a primitive wrapper class object, to the * same classes Constructor. */ -public class NeedlessAutoboxing extends BytecodeScanningDetector implements StatelessDetector +public class NeedlessAutoboxing extends BytecodeScanningDetector { private static final int SEEN_NOTHING = 0; private static final int SEEN_VALUE = 1; @@ -60,16 +60,6 @@ public NeedlessAutoboxing(BugReporter bugReporter) { 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 visitMethod(Method obj) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |