Skip to content

Commit 3fd9c2a

Browse files
committed
Clean up brackets
1 parent e7eb4fb commit 3fd9c2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/apache/hadoop/mapred/MesosExecutor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ public void revokeSlots() {
222222
taskTracker.setMaxReduceSlots(maxReduceSlots);
223223

224224
// If we have zero slots left, commit suicide when no jobs are running
225-
if (maxMapSlots + maxReduceSlots == 0) {
225+
if ((maxMapSlots + maxReduceSlots) == 0) {
226226
scheduleSuicideTimer();
227227
}
228228
}

0 commit comments

Comments
 (0)