Skip to content

Commit

Permalink
Fix sonar #97
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaopeng-he committed Mar 20, 2017
1 parent fd6e5b7 commit 968b450
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public synchronized void shardingIfNecessary() throws JobExecutionException {
if(needRetry) {
if(retryCount >= 0) {
log.info(String.format(SaturnConstant.ERROR_LOG_FORMAT, jobName, "Bad version because of concurrency, will retry to get shards later"));
Thread.sleep(200L);
Thread.sleep(200L); // NOSONAR
getDataStat = getNecessaryDataStat();
} else {
log.warn(String.format(SaturnConstant.ERROR_LOG_FORMAT, jobName, "Bad version because of concurrency, give up to retry"));
Expand Down

0 comments on commit 968b450

Please sign in to comment.