ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/vss MSVSSLABEL.java
Date Thu, 24 Jul 2003 13:08:20 GMT
bodewig     2003/07/24 06:08:20

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional/vss
                        MSVSSLABEL.java
  Log:
  Replace == with equals()
  
  Revision  Changes    Path
  1.20      +1 -1      ant/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSSLABEL.java
  
  Index: MSVSSLABEL.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSSLABEL.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- MSVSSLABEL.java	5 Jul 2003 14:34:13 -0000	1.19
  +++ MSVSSLABEL.java	24 Jul 2003 13:08:20 -0000	1.20
  @@ -80,7 +80,7 @@
           }
   
           String label = getLabel();
  -        if (label == "") {
  +        if (label.equals("")) {
               String msg = "label attribute must be set!";
               throw new BuildException(msg, getLocation());
           }
  
  
  

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


Mime
View raw message