|
|
@@ -40,7 +40,7 @@ public class P4Revert extends P4Base { |
|
|
|
* @throws BuildException if the change list is null or empty string |
|
|
|
*/ |
|
|
|
public void setChange(String revertChange) throws BuildException { |
|
|
|
if (revertChange == null && !revertChange.equals("")) { |
|
|
|
if (revertChange == null || revertChange.equals("")) { |
|
|
|
throw new BuildException("P4Revert: change cannot be null or empty"); |
|
|
|
} |
|
|
|
|
|
|
|