From: markt Date: Fri, 18 Jan 2008 20:56:28 +0000 (+0000) Subject: Fix warnings. No functional change. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=0943d79cf4a65198f3e7f69ad9981fa129fa9d26;p=tomcat7.0 Fix warnings. No functional change. git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@613265 13f79535-47bb-0310-9956-ffa450edef68 --- 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;