You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by kw...@apache.org on 2018/06/27 11:38:26 UTC

qpid-jms-amqp-0-x git commit: NO-JIRA: Remove redundant method readCertificates (which had a resource leak).

Repository: qpid-jms-amqp-0-x
Updated Branches:
  refs/heads/master 22a4c4fc2 -> 7f67f82ec


NO-JIRA: Remove redundant method readCertificates (which had a resource leak).


Project: http://git-wip-us.apache.org/repos/asf/qpid-jms-amqp-0-x/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-jms-amqp-0-x/commit/7f67f82e
Tree: http://git-wip-us.apache.org/repos/asf/qpid-jms-amqp-0-x/tree/7f67f82e
Diff: http://git-wip-us.apache.org/repos/asf/qpid-jms-amqp-0-x/diff/7f67f82e

Branch: refs/heads/master
Commit: 7f67f82ec04a8a346cc64ec1cd824022c9082da1
Parents: 22a4c4f
Author: Keith Wall <kw...@apache.org>
Authored: Wed Jun 27 12:36:36 2018 +0100
Committer: Keith Wall <kw...@apache.org>
Committed: Wed Jun 27 12:37:44 2018 +0100

----------------------------------------------------------------------
 .../apache/qpid/transport/network/security/ssl/SSLUtil.java | 9 ---------
 1 file changed, 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-jms-amqp-0-x/blob/7f67f82e/client/src/main/java/org/apache/qpid/transport/network/security/ssl/SSLUtil.java
----------------------------------------------------------------------
diff --git a/client/src/main/java/org/apache/qpid/transport/network/security/ssl/SSLUtil.java b/client/src/main/java/org/apache/qpid/transport/network/security/ssl/SSLUtil.java
index d26c8fd..a204d2b 100644
--- a/client/src/main/java/org/apache/qpid/transport/network/security/ssl/SSLUtil.java
+++ b/client/src/main/java/org/apache/qpid/transport/network/security/ssl/SSLUtil.java
@@ -311,15 +311,6 @@ public class SSLUtil
         return ks;
     }
 
-    public static X509Certificate[] readCertificates(URL certFile)
-            throws IOException, GeneralSecurityException
-    {
-        try (InputStream is = certFile.openStream())
-        {
-            return readCertificates(certFile.openStream());
-        }
-    }
-
     public static X509Certificate[] readCertificates(InputStream input)
             throws IOException, GeneralSecurityException
     {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org