Skip to content
Prev Previous commit
Next Next commit
iluwatar#1627 fixing sonar issues
  • Loading branch information
karthikbhat13 committed Jun 16, 2021
commit 5fd598034dbde996c25c9b033055ef3080d6ec37
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public void delayedSquaring(final Consumer consumer) {

try {
// this will make the thread sleep from 5-7s.
Thread.sleep( minTimeOut + randomTimeOut);
Thread.sleep(minTimeOut + randomTimeOut);
} catch (InterruptedException e) {
LOGGER.error("Exception while sleep ", e);
Thread.currentThread().interrupt();
Expand Down