You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by di...@apache.org on 2007/02/23 05:32:23 UTC

svn commit: r510812 - /jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/EmailException.java

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