ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@locus.apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/jlink jlink.java
Date Wed, 04 Oct 2000 09:29:18 GMT
bodewig     00/10/04 02:29:18

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional/jlink
                        jlink.java
  Log:
  Fixed detection of duplicate entries in <jlink>.
  Submitted by:	Matthew Kuperus Heun <matthew.k.heun@gaerospace.com>
  
  Revision  Changes    Path
  1.2       +1 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/jlink/jlink.java
  
  Index: jlink.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/jlink/jlink.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- jlink.java	2000/09/11 11:47:12	1.1
  +++ jlink.java	2000/10/04 09:29:17	1.2
  @@ -236,7 +236,7 @@
           		    //In that case, just ignore the error and go on to the
           		    //next entry.
       		        String mess = ex.getMessage();
  -    		        if (mess.indexOf("duplicate") > 0){
  +    		        if (mess.indexOf("duplicate") >= 0){
       		            //It was the duplicate entry.
       		            continue;
       		        } else {
  
  
  

Mime
View raw message