You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by te...@apache.org on 2009/10/06 22:26:14 UTC
svn commit: r822476 -
/harmony/enhanced/classlib/trunk/modules/crypto/src/main/java/javax/crypto/ExemptionMechanism.java
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
+}