You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2018/07/11 10:32:52 UTC

svn commit: r1835625 - /tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java

Author: markt
Date: Wed Jul 11 10:32:52 2018
New Revision: 1835625

URL: http://svn.apache.org/viewvc?rev=1835625&view=rev
Log:
Fix Javadoc warning flagged by IDE

Modified:
    tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java

Modified: tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java?rev=1835625&r1=1835624&r2=1835625&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java (original)
+++ tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java Wed Jul 11 10:32:52 2018
@@ -191,7 +191,7 @@ public class JSSESocketFactory implement
                     log.debug(sm.getString("jsse.excludeDefaultCipher", cipher));
                     continue;
                 }
-                // Remove DHE ciphers unless running on Java 8 or above 
+                // Remove DHE ciphers unless running on Java 8 or above
                 if (!JreCompat.isJre8Available() &&
                         cipher.toUpperCase(Locale.ENGLISH).contains("_DHE_")) {
                     log.debug(sm.getString("jsse.excludeDefaultCipher", cipher));
@@ -208,7 +208,7 @@ public class JSSESocketFactory implement
                 }
                 filteredCiphers.add(cipher);
             }
-    
+
             defaultServerCipherSuites = filteredCiphers.toArray(new String[filteredCiphers.size()]);
             if (defaultServerCipherSuites.length == 0) {
                 log.warn(sm.getString("jsse.noDefaultCiphers", endpoint.getName()));
@@ -819,7 +819,7 @@ public class JSSESocketFactory implement
      * Configures SSLEngine to honor cipher suites ordering based upon
      * endpoint configuration.
      *
-     * @throws InvalidAlgorithmParameterException If the runtime JVM doesn't
+     * @throws UnsupportedOperationException If the runtime JVM doesn't
      *         support this setting.
      */
     protected void configureUseServerCipherSuitesOrder(SSLServerSocket socket) {
@@ -846,7 +846,7 @@ public class JSSESocketFactory implement
 
         socket.setEnabledCipherSuites(enabledCiphers);
         socket.setEnabledProtocols(enabledProtocols);
-        
+
         // we don't know if client auth is needed -
         // after parsing the request we may re-handshake
         configureClientAuth(socket);



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