diff --git a/bookkeeper-server/src/test/java/org/apache/bookkeeper/client/TestRegionAwareEnsemblePlacementPolicy.java b/bookkeeper-server/src/test/java/org/apache/bookkeeper/client/TestRegionAwareEnsemblePlacementPolicy.java index ca1983fa98d..9d8e36a350d 100644 --- a/bookkeeper-server/src/test/java/org/apache/bookkeeper/client/TestRegionAwareEnsemblePlacementPolicy.java +++ b/bookkeeper-server/src/test/java/org/apache/bookkeeper/client/TestRegionAwareEnsemblePlacementPolicy.java @@ -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; @@ -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);