From db620447093f2cf3b83cdc382cdd2be74cd39067 Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Wed, 21 Dec 2016 11:22:41 +0100 Subject: [PATCH] unnecessary condition --- src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java b/src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java index f9c53eaab..2e2f005ea 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; }