From 0943d79cf4a65198f3e7f69ad9981fa129fa9d26 Mon Sep 17 00:00:00 2001 From: markt Date: Fri, 18 Jan 2008 20:56:28 +0000 Subject: [PATCH] Fix warnings. No functional change. git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@613265 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/tomcat/util/net/jsse/JSSESocketFactory.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java b/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java index df13bd728..a7945b1a9 100644 --- a/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java +++ b/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java @@ -171,7 +171,7 @@ public class JSSESocketFactory String[] enabledCiphers = null; if (requestedCiphers != null) { - Vector vec = null; + Vector vec = null; String cipher = requestedCiphers; int index = requestedCiphers.indexOf(','); if (index != -1) { @@ -187,7 +187,7 @@ public class JSSESocketFactory && i(); } vec.addElement(cipher); break; @@ -211,7 +211,7 @@ public class JSSESocketFactory && i(); } vec.addElement(cipher); break; @@ -476,7 +476,7 @@ public class JSSESocketFactory if("PKIX".equalsIgnoreCase(algorithm)) { PKIXBuilderParameters xparams = new PKIXBuilderParameters(trustStore, new X509CertSelector()); - Collection crls = getCRLs(crlf); + Collection crls = getCRLs(crlf); CertStoreParameters csp = new CollectionCertStoreParameters(crls); CertStore store = CertStore.getInstance("Collection", csp); xparams.addCertStore(store); @@ -560,7 +560,7 @@ public class JSSESocketFactory String[] enabledProtocols = null; if (requestedProtocols != null) { - Vector vec = null; + Vector vec = null; String protocol = requestedProtocols; int index = requestedProtocols.indexOf(','); if (index != -1) { @@ -576,7 +576,7 @@ public class JSSESocketFactory && i(); } vec.addElement(protocol); break; @@ -600,7 +600,7 @@ public class JSSESocketFactory && i(); } vec.addElement(protocol); break; -- 2.11.0