remove unused variable

This commit is contained in:
Shinsuke Sugaya 2016-07-14 18:37:23 +09:00
parent 439d532655
commit 06115f6de9

View file

@ -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;