commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1531862 - /commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/DefaultPooledObject.java
Date Mon, 14 Oct 2013 11:58:51 GMT
Author: markt
Date: Mon Oct 14 11:58:50 2013
New Revision: 1531862

URL: http://svn.apache.org/r1531862
Log:
Using the excludes filter is the right way to do this.

Modified:
    commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/DefaultPooledObject.java

Modified: commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/DefaultPooledObject.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/DefaultPooledObject.java?rev=1531862&r1=1531861&r2=1531862&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/DefaultPooledObject.java
(original)
+++ commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/DefaultPooledObject.java
Mon Oct 14 11:58:50 2013
@@ -150,19 +150,6 @@ public class DefaultPooledObject<T> impl
     }
 
 
-    @Override
-    public boolean equals(Object obj) {
-        // Overridden purely to stop FindBugs complaining because compareTo()
-        // has been defined.
-        return super.equals(obj);
-    }
-
-    @Override
-    public int hashCode() {
-        // Overridden because equals() had to be overridden (see above)
-        return super.hashCode();
-    }
-
     /**
      * Provides a String form of the wrapper for debug purposes. The format is
      * not fixed and may change at any time.



Mime
View raw message