Browse Source

Replace == with equals()

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274922 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 22 years ago
parent
commit
2a713cc02a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSSLABEL.java

+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSSLABEL.java View File

@@ -80,7 +80,7 @@ public class MSVSSLABEL extends MSVSS {
}

String label = getLabel();
if (label == "") {
if (label.equals("")) {
String msg = "label attribute must be set!";
throw new BuildException(msg, getLocation());
}


Loading…
Cancel
Save