From 0e0b6b731cfaddcc6b8d1a07ba8ee82f11de72b2 Mon Sep 17 00:00:00 2001 From: Robert Davies Date: Tue, 26 Jun 2007 05:00:56 +0000 Subject: [PATCH] tidied up imports git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@550688 13f79535-47bb-0310-9956-ffa450edef68 --- .../activemq/ActiveMQSslConnectionFactory.java | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/activemq-core/src/main/java/org/apache/activemq/ActiveMQSslConnectionFactory.java b/activemq-core/src/main/java/org/apache/activemq/ActiveMQSslConnectionFactory.java index 575e432397..1d8a6d1259 100644 --- a/activemq-core/src/main/java/org/apache/activemq/ActiveMQSslConnectionFactory.java +++ b/activemq-core/src/main/java/org/apache/activemq/ActiveMQSslConnectionFactory.java @@ -18,21 +18,13 @@ package org.apache.activemq; -import org.apache.activemq.transport.Transport; -import org.apache.activemq.transport.TransportFactory; -import org.apache.activemq.transport.tcp.SslTransportFactory; -import org.apache.activemq.util.JMSExceptionSupport; - -import java.net.URI; -import java.net.URISyntaxException; -import java.security.KeyManagementException; -import java.security.NoSuchAlgorithmException; import java.security.SecureRandom; - import javax.jms.JMSException; import javax.net.ssl.KeyManager; -import javax.net.ssl.SSLContext; import javax.net.ssl.TrustManager; +import org.apache.activemq.transport.Transport; +import org.apache.activemq.transport.tcp.SslTransportFactory; +import org.apache.activemq.util.JMSExceptionSupport; /** * An ActiveMQConnectionFactory that allows access to the key and trust managers used for SslConnections. @@ -57,7 +49,7 @@ public class ActiveMQSslConnectionFactory extends ActiveMQConnectionFactory { * @param tm The TrustManagers used. * @param random The SecureRandom number used. */ - public void setKeyAndTrustManagers(KeyManager[] km, TrustManager[] tm, SecureRandom random) { + public void setKeyAndTrustManagers(final KeyManager[] km, final TrustManager[] tm, final SecureRandom random) { keyManager = km; trustManager = tm; secureRandom = random;