Browse Source

Remove double check for same condition.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270642 13f79535-47bb-0310-9956-ffa450edef68
master
Stephane Bailliez 23 years ago
parent
commit
437a1cfc7a
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      src/main/org/apache/tools/ant/taskdefs/optional/perforce/P4Reopen.java

+ 0
- 2
src/main/org/apache/tools/ant/taskdefs/optional/perforce/P4Reopen.java View File

@@ -78,9 +78,7 @@ public class P4Reopen extends P4Base {

public void execute() throws BuildException {
if(P4View == null) {
if(P4View == null) {
throw new BuildException("No view specified to reopen");
}
}
execP4Command("-s reopen -c "+toChange+" "+P4View, new SimpleP4OutputHandler(this));
}


Loading…
Cancel
Save