jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r189969 - /incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/ItemImpl.java
Date Fri, 10 Jun 2005 14:57:25 GMT
Author: stefan
Date: Fri Jun 10 07:57:24 2005
New Revision: 189969

URL: http://svn.apache.org/viewcvs?rev=189969&view=rev
Log:
removed unnecessary finalize() override

Modified:
    incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/ItemImpl.java

Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/ItemImpl.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/ItemImpl.java?rev=189969&r1=189968&r2=189969&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/ItemImpl.java (original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/ItemImpl.java Fri Jun 10
07:57:24 2005
@@ -142,17 +142,6 @@
         this.state.addListener(this);
     }
 
-    protected void finalize() throws Throwable {
-        if (state != null) {
-            try {
-                state.removeListener(this);
-            } catch (Throwable t) {
-                // ignore
-            }
-        }
-        super.finalize();
-    }
-
     /**
      * Performs a sanity check on this item and the associated session.
      *



Mime
View raw message