avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: avalon/src/java/org/apache/avalon/framework ExceptionUtil.java
Date Fri, 14 Mar 2003 08:14:13 GMT
donaldp     2003/03/14 00:14:12

  Modified:    src/java/org/apache/avalon/framework ExceptionUtil.java
  Log:
  stop yellow in IDEA
  
  Revision  Changes    Path
  1.23      +3 -2      avalon/src/java/org/apache/avalon/framework/ExceptionUtil.java
  
  Index: ExceptionUtil.java
  ===================================================================
  RCS file: /home/cvs/avalon/src/java/org/apache/avalon/framework/ExceptionUtil.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- ExceptionUtil.java	11 Feb 2003 15:58:37 -0000	1.22
  +++ ExceptionUtil.java	14 Mar 2003 08:14:11 -0000	1.23
  @@ -205,7 +205,8 @@
       {
           if( throwable instanceof CascadingThrowable )
           {
  -            return ( (CascadingThrowable)throwable ).getCause();
  +            final CascadingThrowable cascadingThrowable = (CascadingThrowable)throwable;
  +            return cascadingThrowable.getCause();
           }
           else if( useReflection )
           {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org


Mime
View raw message