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 2016/12/21 10:23:21 UTC
[6/6] ant git commit: unnecessary condition
unnecessary condition
Project: http://git-wip-us.apache.org/repos/asf/ant/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/db620447
Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/db620447
Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/db620447
Branch: refs/heads/1.9.x
Commit: db620447093f2cf3b83cdc382cdd2be74cd39067
Parents: 64d1056
Author: Stefan Bodewig <bo...@apache.org>
Authored: Wed Dec 21 11:22:41 2016 +0100
Committer: Stefan Bodewig <bo...@apache.org>
Committed: Wed Dec 21 11:22:41 2016 +0100
----------------------------------------------------------------------
src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ant/blob/db620447/src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java
----------------------------------------------------------------------
diff --git a/src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java b/src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java
index f9c53ea..2e2f005 100644
--- a/src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java
+++ b/src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java
@@ -831,7 +831,7 @@ public class XSLTProcess extends MatchingTask implements XSLTLogger {
if (outFileName == null || outFileName.length == 0) {
log("Skipping " + inFile + " it cannot get mapped to output.", Project.MSG_VERBOSE);
return;
- } else if (outFileName == null || outFileName.length > 1) {
+ } else if (outFileName.length > 1) {
log("Skipping " + inFile + " its mapping is ambiguos.", Project.MSG_VERBOSE);
return;
}