Fix a bug in SpecializationService

This commit is contained in:
leventov 2017-03-21 17:49:32 -06:00
parent 719e979c08
commit 37b04c3984
1 changed files with 1 additions and 1 deletions

View File

@ -329,7 +329,7 @@ public final class SpecializationService
}
}
if (!currentMinutePresent) {
perMinuteIterations.computeIfAbsent(currentMinute, AtomicLong::new).addAndGet(newIterations);
perMinuteIterations.computeIfAbsent(currentMinute, m -> new AtomicLong()).addAndGet(newIterations);
totalIterations += newIterations;
}
return totalIterations;