Author: markt
Date: Fri Sep 15 10:16:25 2017
New Revision: 1808442

URL: http://svn.apache.org/viewvc?rev=1808442&view=rev
Log:
Fix IDE nags

Modified:
    tomcat/trunk/test/org/apache/tomcat/util/net/openssl/TestOpenSSLConf.java

Modified: 
tomcat/trunk/test/org/apache/tomcat/util/net/openssl/TestOpenSSLConf.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/tomcat/util/net/openssl/TestOpenSSLConf.java?rev=1808442&r1=1808441&r2=1808442&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/tomcat/util/net/openssl/TestOpenSSLConf.java 
(original)
+++ tomcat/trunk/test/org/apache/tomcat/util/net/openssl/TestOpenSSLConf.java 
Fri Sep 15 10:16:25 2017
@@ -88,7 +88,7 @@ public class TestOpenSSLConf extends Tom
 
     @Test
     public void testOpenSSLConfCmdProtocol() throws Exception {
-        Set<String> disabledProtocols = new 
HashSet<String>(Arrays.asList(DISABLED_PROTOCOLS));
+        Set<String> disabledProtocols = new 
HashSet<>(Arrays.asList(DISABLED_PROTOCOLS));
         StringBuilder sb = new StringBuilder();
         for (String protocol : DISABLED_PROTOCOLS) {
             sb.append(",").append("-").append(protocol);
@@ -103,7 +103,7 @@ public class TestOpenSSLConf extends Tom
             assertFalse("Protocol " + protocol + " is not allowed",
                         disabledProtocols.contains(protocol));
         }
-        Set<String> enabledProtocols = new 
HashSet<String>(Arrays.asList(protocols));
+        Set<String> enabledProtocols = new HashSet<>(Arrays.asList(protocols));
         for (String protocol : ENABLED_PROTOCOLS) {
             assertTrue("Protocol " + protocol + " is not enabled",
                        enabledProtocols.contains(protocol));



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to