Skip to content

Commit

Permalink
Fix checkstyle.
Browse files Browse the repository at this point in the history
  • Loading branch information
horizonzy committed Oct 16, 2023
1 parent a136a7c commit f3a4fd5
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
import com.google.common.collect.Sets;
import com.google.common.util.concurrent.ThreadFactoryBuilder;
import io.netty.util.HashedWheelTimer;

import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.net.InetAddress;
Expand Down Expand Up @@ -528,7 +527,7 @@ public void testNewEnsembleBookieWithOneEmptyRegion() throws Exception {

Field modifiers = Field.class.getDeclaredField("modifiers");
modifiers.setAccessible(true);
modifiers.setInt(logField,logField.getModifiers() & ~Modifier.FINAL);
modifiers.setInt(logField, logField.getModifiers() & ~Modifier.FINAL);
logField.setAccessible(true);
logField.set(null, mockLogger);

Expand Down

0 comments on commit f3a4fd5

Please sign in to comment.