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:45:57 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 0da8b3a16 -> ddb062589


[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/ddb06258
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/ddb06258
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/ddb06258

Branch: refs/heads/master
Commit: ddb0625895931c1ec7b48b23122baa26d0af5c15
Parents: 0da8b3a
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:45:31 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/ddb06258/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