Browse Source

unnecessary condition

master
Stefan Bodewig 8 years ago
parent
commit
db62044709
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java

+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java View File

@@ -831,7 +831,7 @@ public class XSLTProcess extends MatchingTask implements XSLTLogger {
if (outFileName == null || outFileName.length == 0) { if (outFileName == null || outFileName.length == 0) {
log("Skipping " + inFile + " it cannot get mapped to output.", Project.MSG_VERBOSE); log("Skipping " + inFile + " it cannot get mapped to output.", Project.MSG_VERBOSE);
return; return;
} else if (outFileName == null || outFileName.length > 1) {
} else if (outFileName.length > 1) {
log("Skipping " + inFile + " its mapping is ambiguos.", Project.MSG_VERBOSE); log("Skipping " + inFile + " its mapping is ambiguos.", Project.MSG_VERBOSE);
return; return;
} }


Loading…
Cancel
Save