cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: [CXF-6466] Removing AbstractClient.finalize
Date Wed, 17 Jun 2015 12:47:15 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes 8c8325beb -> 90451dc32


[CXF-6466] Removing AbstractClient.finalize


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/90451dc3
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/90451dc3
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/90451dc3

Branch: refs/heads/3.0.x-fixes
Commit: 90451dc32d10bd0c7c58ceed2bf41816adc7a93e
Parents: 8c8325b
Author: Sergey Beryozkin <sberyozkin@talend.com>
Authored: Wed Jun 17 13:45:31 2015 +0100
Committer: Sergey Beryozkin <sberyozkin@talend.com>
Committed: Wed Jun 17 13:46:55 2015 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/cxf/jaxrs/client/AbstractClient.java   | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/90451dc3/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/AbstractClient.java
----------------------------------------------------------------------
diff --git a/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/AbstractClient.java b/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/AbstractClient.java
index dec951b..958e5a2 100644
--- a/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/AbstractClient.java
+++ b/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/AbstractClient.java
@@ -892,10 +892,7 @@ public abstract class AbstractClient implements Client {
             throw new IllegalStateException("Client is closed");
         }
     }
-    protected void finalize() throws Throwable {
-        super.finalize();
-        close();
-    }
+    
     protected Message createMessage(Object body,
                                     String httpMethod, 
                                     MultivaluedMap<String, String> headers,


Mime
View raw message