harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r822476 - /harmony/enhanced/classlib/trunk/modules/crypto/src/main/java/javax/crypto/ExemptionMechanism.java
Date Tue, 06 Oct 2009 20:26:14 GMT
Author: tellison
Date: Tue Oct  6 20:26:13 2009
New Revision: 822476

URL: http://svn.apache.org/viewvc?rev=822476&view=rev
Log:
Remove unhelpful finalizer.  Fields will be discarded anyway so no need to set to null.

Modified:
    harmony/enhanced/classlib/trunk/modules/crypto/src/main/java/javax/crypto/ExemptionMechanism.java

Modified: harmony/enhanced/classlib/trunk/modules/crypto/src/main/java/javax/crypto/ExemptionMechanism.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/crypto/src/main/java/javax/crypto/ExemptionMechanism.java?rev=822476&r1=822475&r2=822476&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/crypto/src/main/java/javax/crypto/ExemptionMechanism.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/crypto/src/main/java/javax/crypto/ExemptionMechanism.java
Tue Oct  6 20:26:13 2009
@@ -367,12 +367,4 @@
         generated = true;
         return len;
     }
-
-    /**
-     * Frees the references to the key used to initialize this instance.
-     */
-    @Override
-    protected void finalize() {
-        initKey = null;
-    }
-}
\ No newline at end of file
+}



Mime
View raw message