commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1632035 - /commons/proper/email/trunk/src/main/java/org/apache/commons/mail/resolver/DataSourceUrlResolver.java
Date Wed, 15 Oct 2014 13:54:54 GMT
Author: ggregory
Date: Wed Oct 15 13:54:53 2014
New Revision: 1632035

URL: http://svn.apache.org/r1632035
Log:
Statement unnecessarily nested within else clause.

Modified:
    commons/proper/email/trunk/src/main/java/org/apache/commons/mail/resolver/DataSourceUrlResolver.java

Modified: commons/proper/email/trunk/src/main/java/org/apache/commons/mail/resolver/DataSourceUrlResolver.java
URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/src/main/java/org/apache/commons/mail/resolver/DataSourceUrlResolver.java?rev=1632035&r1=1632034&r2=1632035&view=diff
==============================================================================
--- commons/proper/email/trunk/src/main/java/org/apache/commons/mail/resolver/DataSourceUrlResolver.java
(original)
+++ commons/proper/email/trunk/src/main/java/org/apache/commons/mail/resolver/DataSourceUrlResolver.java
Wed Oct 15 13:54:53 2014
@@ -94,10 +94,7 @@ public class DataSourceUrlResolver exten
             {
                 return null;
             }
-            else
-            {
-                throw e;
-            }
+            throw e;
         }
     }
 



Mime
View raw message