You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2018/02/13 19:32:33 UTC
ant git commit: rephrase comment after it has been moved
Repository: ant
Updated Branches:
refs/heads/master eab7f04ca -> 6850ad2e6
rephrase comment after it has been moved
Project: http://git-wip-us.apache.org/repos/asf/ant/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/6850ad2e
Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/6850ad2e
Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/6850ad2e
Branch: refs/heads/master
Commit: 6850ad2e61257a0a8aaf2034f186af8e15d3b42b
Parents: eab7f04
Author: Stefan Bodewig <bo...@apache.org>
Authored: Tue Feb 13 20:32:07 2018 +0100
Committer: Stefan Bodewig <bo...@apache.org>
Committed: Tue Feb 13 20:32:07 2018 +0100
----------------------------------------------------------------------
.../ant/taskdefs/optional/ejb/WeblogicDeploymentTool.java | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ant/blob/6850ad2e/src/main/org/apache/tools/ant/taskdefs/optional/ejb/WeblogicDeploymentTool.java
----------------------------------------------------------------------
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 4b0116d..2eba14d 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;