summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Bodewig <bodewig@apache.org>2018-02-13 20:32:07 +0100
committerStefan Bodewig <bodewig@apache.org>2018-02-13 20:32:07 +0100
commit6850ad2e61257a0a8aaf2034f186af8e15d3b42b (patch)
tree1c4d0036c8a682d98518bce22ee221986eb32a46
parenteab7f04cac436a670d83ac91b416aa2eab28f4b7 (diff)
downloadant-6850ad2e61257a0a8aaf2034f186af8e15d3b42b.tar.gz
rephrase comment after it has been moved
-rw-r--r--src/main/org/apache/tools/ant/taskdefs/optional/ejb/WeblogicDeploymentTool.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/ejb/WeblogicDeploymentTool.java b/src/main/org/apache/tools/ant/taskdefs/optional/ejb/WeblogicDeploymentTool.java
index 4b0116d2b..2eba14d5f 100644
--- a/src/main/org/apache/tools/ant/taskdefs/optional/ejb/WeblogicDeploymentTool.java
+++ b/src/main/org/apache/tools/ant/taskdefs/optional/ejb/WeblogicDeploymentTool.java
@@ -736,10 +736,9 @@ public class WeblogicDeploymentTool extends GenericDeploymentTool {
}
//Object class Changed update it.
replaceEntries.put(filepath, genericEntry);
- } else if (!genericEntry.getName()
- .equals("META-INF/MANIFEST.MF")) {
- // it is the manifest, so ignore it
- //File other then class changed rebuild
+ } else if (!"META-INF/MANIFEST.MF".equals(genericEntry.getName())) {
+ // it is not the manifest, otherwise we'd ignore it
+ // File other then class changed rebuild
log("Non class file " + genericEntry.getName()
+ " has changed", Project.MSG_VERBOSE);
rebuild = true;