commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject cvs commit: jakarta-commons/lang/src/java/org/apache/commons/lang/exception NestableDelegate.java
Date Wed, 21 Aug 2002 07:31:54 GMT
dlr         2002/08/21 00:31:54

  Modified:    lang/src/java/org/apache/commons/lang/exception
                        NestableDelegate.java
  Log:
  Broke long lines; no functional change.
  
  Revision  Changes    Path
  1.4       +8 -4      jakarta-commons/lang/src/java/org/apache/commons/lang/exception/NestableDelegate.java
  
  Index: NestableDelegate.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/exception/NestableDelegate.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -u -r1.3 -r1.4
  --- NestableDelegate.java	21 Aug 2002 07:22:47 -0000	1.3
  +++ NestableDelegate.java	21 Aug 2002 07:31:54 -0000	1.4
  @@ -181,7 +181,9 @@
           String[] msgs = new String[throwables.length];
           for(int i = 0; i < throwables.length; i++)
           {
  -            msgs[i] = (Nestable.class.isInstance(throwables[i]) ? ((Nestable) throwables[i]).getMessage(0)
: throwables[i].getMessage());
  +            msgs[i] = (Nestable.class.isInstance(throwables[i]) ?
  +                       ((Nestable) throwables[i]).getMessage(0) :
  +                       throwables[i].getMessage());
           }
           return msgs;
       }
  @@ -272,12 +274,14 @@
       {
           if(fromIndex < 0)
           {
  -            throw new IndexOutOfBoundsException("Throwable index out of range: " + fromIndex);
  +            throw new IndexOutOfBoundsException("Throwable index out of range: "
  +                                                + fromIndex);
           }
           Throwable throwables[] = this.getThrowables();
           if(fromIndex >= throwables.length)
           {
  -            throw new IndexOutOfBoundsException("Throwable index out of range: " + fromIndex);
  +            throw new IndexOutOfBoundsException("Throwable index out of range: "
  +                                                + fromIndex);
           }
           for(int i = fromIndex; i < throwables.length; i++)
           {
  
  
  

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


Mime
View raw message