shaofengshi closed pull request #59: Update AbstractExecutable.java
URL: https://github.com/apache/kylin/pull/59
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git
a/core-job/src/main/java/org/apache/kylin/job/execution/AbstractExecutable.java
b/core-job/src/main/java/org/apache/kylin/job/execution/AbstractExecutable.java
index 1f1be4126d..62af2fa3a8 100644
---
a/core-job/src/main/java/org/apache/kylin/job/execution/AbstractExecutable.java
+++
b/core-job/src/main/java/org/apache/kylin/job/execution/AbstractExecutable.java
@@ -127,7 +127,7 @@ public final ExecuteResult execute(ExecutableContext
executableContext) throws E
exception = e;
}
retry++;
- } while (((result != null && result.succeed() == false) ||
exception != null) && needRetry() == true);
+ } while (((result != null && !result.succeed()) || exception !=
null) && needRetry());
if (exception != null) {
onExecuteError(exception, executableContext);
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services