< prev index next >
src/java.base/share/classes/javax/net/ssl/SSLEngine.java
Print this page
@@ -936,11 +936,11 @@
* named by the parameter is not supported, or when the
* parameter is null.
* @see #getSupportedCipherSuites()
* @see #getEnabledCipherSuites()
*/
- public abstract void setEnabledCipherSuites(String suites []);
+ public abstract void setEnabledCipherSuites(String[] suites);
/**
* Returns the names of the protocols which could be enabled for use
* with this {@code SSLEngine}.
@@ -977,11 +977,11 @@
* @throws IllegalArgumentException when one or more of
* the protocols named by the parameter is not supported or
* when the protocols parameter is null.
* @see #getEnabledProtocols()
*/
- public abstract void setEnabledProtocols(String protocols[]);
+ public abstract void setEnabledProtocols(String[] protocols);
/**
* Returns the {@code SSLSession} in use in this
* {@code SSLEngine}.
< prev index next >