remove unused variable
This commit is contained in:
parent
439d532655
commit
06115f6de9
1 changed files with 1 additions and 2 deletions
|
@ -359,7 +359,6 @@ public class Crawler {
|
|||
final CrawlingInfoHelper crawlingInfoHelper = ComponentUtil.getCrawlingInfoHelper();
|
||||
|
||||
boolean completed = false;
|
||||
final int exitCode = Constants.EXIT_OK;
|
||||
try {
|
||||
writeTimeToSessionInfo(crawlingInfoHelper, Constants.CRAWLER_START_TIME);
|
||||
|
||||
|
@ -417,7 +416,7 @@ public class Crawler {
|
|||
}
|
||||
completed = true;
|
||||
|
||||
return exitCode;
|
||||
return Constants.EXIT_OK;
|
||||
} catch (final Throwable t) {
|
||||
logger.warn("An exception occurs on the crawl task.", t);
|
||||
return Constants.EXIT_FAIL;
|
||||
|
|
Loading…
Add table
Reference in a new issue