commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r510812 - /jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/EmailException.java
Date Fri, 23 Feb 2007 04:32:23 GMT
Author: dion
Date: Thu Feb 22 20:32:22 2007
New Revision: 510812

URL: http://svn.apache.org/viewvc?view=rev&rev=510812
Log:
checkstyle fixes

Modified:
    jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/EmailException.java

Modified: jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/EmailException.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/EmailException.java?view=diff&rev=510812&r1=510811&r2=510812
==============================================================================
--- jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/EmailException.java
(original)
+++ jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/EmailException.java
Thu Feb 22 20:32:22 2007
@@ -95,7 +95,7 @@
      */
     public EmailException(Throwable rootCause)
     {
-        super(((rootCause == null) ? null : rootCause.getMessage()));
+        super((rootCause == null) ? null : rootCause.getMessage());
         this.rootCause = rootCause;
     }
 
@@ -159,7 +159,7 @@
         {
             super.printStackTrace(out);
 
-            if ((rootCause != null) && (JDK_SUPPORTS_NESTED == false))
+            if (!JDK_SUPPORTS_NESTED && (rootCause != null))
             {
                 out.print("Caused by: ");
                 rootCause.printStackTrace(out);



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message