ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant-myrmidon/antlib/src/java/org/apache/antlib/archive Unpack.java
Date Fri, 05 Jul 2002 03:26:22 GMT
donaldp     2002/07/04 20:26:22

  Modified:    antlib/src/java/org/apache/antlib/archive Unpack.java
  Log:
  Extension is always non-null
  
  Revision  Changes    Path
  1.2       +1 -2      jakarta-ant-myrmidon/antlib/src/java/org/apache/antlib/archive/Unpack.java
  
  Index: Unpack.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant-myrmidon/antlib/src/java/org/apache/antlib/archive/Unpack.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Unpack.java	14 Apr 2002 10:54:02 -0000	1.1
  +++ Unpack.java	5 Jul 2002 03:26:22 -0000	1.2
  @@ -97,8 +97,7 @@
           final int length = sourceName.length();
           final int index = length - extension.length();
   
  -        if( null != extension &&
  -            length > extension.length() &&
  +        if( length > extension.length() &&
               extension.equalsIgnoreCase( sourceName.substring( index ) ) )
           {
               final String child = sourceName.substring( 0, index );
  
  
  

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


Mime
View raw message