BATCH-2235: Updated ExitStatus#isRunning logic to use correct strings

This commit is contained in:
Michael Minella
2014-05-21 16:54:10 -05:00
parent 936d966712
commit f5d5edc52d

View File

@@ -226,10 +226,10 @@ public class ExitStatus implements Serializable, Comparable<ExitStatus> {
/**
* Check if this status represents a running process.
*
* @return true if the exit code is "RUNNING" or "UNKNOWN"
* @return true if the exit code is "EXECUTING" or "UNKNOWN"
*/
public boolean isRunning() {
return "RUNNING".equals(this.exitCode) || "UNKNOWN".equals(this.exitCode);
return "EXECUTING".equals(this.exitCode) || "UNKNOWN".equals(this.exitCode);
}
/**