You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2014/04/13 20:38:49 UTC

svn commit: r1587073 - /commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/SMTPSClient.java

Author: sebb
Date: Sun Apr 13 18:38:49 2014
New Revision: 1587073

URL: http://svn.apache.org/r1587073
Log:
Remove unthrown exceptions. These are not part of the method signature so don't affect binary compatibility

Modified:
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/SMTPSClient.java

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/SMTPSClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/SMTPSClient.java?rev=1587073&r1=1587072&r2=1587073&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/SMTPSClient.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/SMTPSClient.java Sun Apr 13 18:38:49 2014
@@ -286,7 +286,7 @@ public class SMTPSClient extends SMTPCli
      * the command or performing the negotiation.
      * @return TRUE if the command and negotiation succeeded.
      */
-    public boolean execTLS() throws SSLException, IOException
+    public boolean execTLS() throws IOException
     {
         if (!SMTPReply.isPositiveCompletion(sendCommand("STARTTLS")))
         {