You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bo...@apache.org on 2003/07/24 15:08:20 UTC
cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/vss MSVSSLABEL.java
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