You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2015/06/25 17:16:05 UTC

svn commit: r1687549 - /tomcat/trunk/test/org/apache/tomcat/unittest/TesterLeakingServlet1.java

Author: markt
Date: Thu Jun 25 15:16:05 2015
New Revision: 1687549

URL: http://svn.apache.org/r1687549
Log:
Remove code. It isn't necessary and FindBugs doesn't like it.

Modified:
    tomcat/trunk/test/org/apache/tomcat/unittest/TesterLeakingServlet1.java

Modified: tomcat/trunk/test/org/apache/tomcat/unittest/TesterLeakingServlet1.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/tomcat/unittest/TesterLeakingServlet1.java?rev=1687549&r1=1687548&r2=1687549&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/tomcat/unittest/TesterLeakingServlet1.java (original)
+++ tomcat/trunk/test/org/apache/tomcat/unittest/TesterLeakingServlet1.java Thu Jun 25 15:16:05 2015
@@ -51,11 +51,4 @@ public class TesterLeakingServlet1 exten
                 "The current thread served this servlet "
                         + counter.getCount() + " times");
     }
-
-    @Override
-    public void destroy() {
-        super.destroy();
-        // normally not needed, just to make my point
-        myThreadLocal = null;
-    }
 }
\ No newline at end of file



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org