commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1587071 - /commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/AuthenticatingSMTPClient.java
Date Sun, 13 Apr 2014 18:37:19 GMT
Author: sebb
Date: Sun Apr 13 18:37:19 2014
New Revision: 1587071

URL: http://svn.apache.org/r1587071
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/AuthenticatingSMTPClient.java

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/AuthenticatingSMTPClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/AuthenticatingSMTPClient.java?rev=1587071&r1=1587070&r2=1587071&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/AuthenticatingSMTPClient.java
(original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/AuthenticatingSMTPClient.java
Sun Apr 13 18:37:19 2014
@@ -40,9 +40,8 @@ public class AuthenticatingSMTPClient ex
     /**
      * The default AuthenticatingSMTPClient constructor.
      * Creates a new Authenticating SMTP Client.
-     * @throws NoSuchAlgorithmException
      */
-    public AuthenticatingSMTPClient() throws NoSuchAlgorithmException
+    public AuthenticatingSMTPClient()
     {
         super();
     }
@@ -50,9 +49,8 @@ public class AuthenticatingSMTPClient ex
     /**
      * Overloaded constructor that takes a protocol specification
      * @param protocol The protocol to use
-     * @throws NoSuchAlgorithmException
      */
-    public AuthenticatingSMTPClient(String protocol) throws NoSuchAlgorithmException {
+    public AuthenticatingSMTPClient(String protocol) {
         super(protocol);
     }
 
@@ -94,10 +92,9 @@ public class AuthenticatingSMTPClient ex
      * Overloaded constructor that takes a protocol specification and encoding
      * @param protocol The protocol to use
      * @param encoding The encoding to use
-     * @throws NoSuchAlgorithmException
      * @since 3.3
      */
-    public AuthenticatingSMTPClient(String protocol, String encoding) throws NoSuchAlgorithmException
{
+    public AuthenticatingSMTPClient(String protocol, String encoding) {
         super(protocol, false, encoding);
     }
 



Mime
View raw message