aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n..@apache.org
Subject svn commit: r1056241 - /aries/trunk/jndi/jndi-core/src/main/java/org/apache/aries/jndi/ContextProvider.java
Date Fri, 07 Jan 2011 10:23:12 GMT
Author: not
Date: Fri Jan  7 10:23:12 2011
New Revision: 1056241

URL: http://svn.apache.org/viewvc?rev=1056241&view=rev
Log:
ARIES-533 Remove finalize method

Modified:
    aries/trunk/jndi/jndi-core/src/main/java/org/apache/aries/jndi/ContextProvider.java

Modified: aries/trunk/jndi/jndi-core/src/main/java/org/apache/aries/jndi/ContextProvider.java
URL: http://svn.apache.org/viewvc/aries/trunk/jndi/jndi-core/src/main/java/org/apache/aries/jndi/ContextProvider.java?rev=1056241&r1=1056240&r2=1056241&view=diff
==============================================================================
--- aries/trunk/jndi/jndi-core/src/main/java/org/apache/aries/jndi/ContextProvider.java (original)
+++ aries/trunk/jndi/jndi-core/src/main/java/org/apache/aries/jndi/ContextProvider.java Fri
Jan  7 10:23:12 2011
@@ -32,14 +32,4 @@ public class ContextProvider {
     public Context getContext() {
       return context;
     }
-    
-    @Override
-    public void finalize()
-    {
-      try {
-        close();
-      } catch (NamingException e) {
-        // we are just being nice here, so we ignore this if it happens.
-      }
-    }
 }
\ No newline at end of file



Mime
View raw message