Skip to content

Commit

Permalink
Checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
albertzaharovits committed Jan 19, 2025
1 parent 68079d9 commit 7b68ba9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ private void maybeActivateThrottling() {

private void maybeDeactivateThrottling() {
int numActiveMerges = activeMergeTasksExecutingOnLocalSchedulerList.size();
if (numActiveMerges <= config.getMaxMergeCount() && isThrottling.getAndSet(false) == true) {
if (numActiveMerges <= config.getMaxMergeCount() && isThrottling.getAndSet(false)) {
deactivateThrottling(numActiveMerges);
}
}
Expand Down

0 comments on commit 7b68ba9

Please sign in to comment.