Author: kkolinko Date: Sat Mar 15 17:00:31 2014 New Revision: 1577902 URL: http://svn.apache.org/r1577902 Log: Clean an IDE warning about unthrown exception. Since r1577757 the setSSLEngine() method is a pure setter, it no longer calls reset() and no longer throws an IOException.
(An alternative way to silence such warnings is to document the exception in Javadoc for the method). Modified: tomcat/trunk/java/org/apache/tomcat/util/net/SecureNio2Channel.java Modified: tomcat/trunk/java/org/apache/tomcat/util/net/SecureNio2Channel.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/SecureNio2Channel.java?rev=1577902&r1=1577901&r2=1577902&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/net/SecureNio2Channel.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/net/SecureNio2Channel.java Sat Mar 15 17:00:31 2014 @@ -100,7 +100,7 @@ public class SecureNio2Channel extends N reset(); } - public void setSSLEngine(SSLEngine engine) throws IOException { + public void setSSLEngine(SSLEngine engine) { this.sslEngine = engine; } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org