You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by gg...@apache.org on 2003/07/26 01:05:22 UTC

cvs commit: jakarta-commons/lang/src/java/org/apache/commons/lang/exception NestableDelegate.java

ggregory    2003/07/25 16:05:22

  Modified:    lang/src/java/org/apache/commons/lang/exception
                        NestableDelegate.java
  Log:
  Severity	Description	Resource	In Folder	Location	Creation Time
  	Unnecessary cast to type String[] for expression of type Object[]. It is already compatible with the argument type Object	NestableDelegate.java	Apache Jakarta Commons/lang/src/java/org/apache/commons/lang/exception	line 378	July 23, 2003 11:22:36 AM
  
  Revision  Changes    Path
  1.16      +2 -2      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.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- NestableDelegate.java	20 Jul 2003 15:49:58 -0000	1.15
  +++ NestableDelegate.java	25 Jul 2003 23:05:22 -0000	1.16
  @@ -375,7 +375,7 @@
                    currList.add("\t... "+trimmed+" more");
                    stacks.set(
                        i, 
  -                     (String[])currList.toArray(new String[currList.size()])
  +                     currList.toArray(new String[currList.size()])
                    );
                }
            }
  
  
  

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