未验证 提交 4cfe00d7 编写于 作者: 谷徳爆 提交者: GitHub

[ISSUE #2642] Remove unused imports

上级 b2223c99
...@@ -27,8 +27,6 @@ import org.mockito.junit.MockitoJUnitRunner; ...@@ -27,8 +27,6 @@ import org.mockito.junit.MockitoJUnitRunner;
import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.Assert.assertNull; import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import static org.mockito.ArgumentMatchers.notNull;
import static org.mockito.Mockito.when; import static org.mockito.Mockito.when;
@RunWith(MockitoJUnitRunner.class) @RunWith(MockitoJUnitRunner.class)
...@@ -98,7 +96,7 @@ public class NettyRemotingAbstractTest { ...@@ -98,7 +96,7 @@ public class NettyRemotingAbstractTest {
public void testScanResponseTable() { public void testScanResponseTable() {
int dummyId = 1; int dummyId = 1;
// mock timeout // mock timeout
ResponseFuture responseFuture = new ResponseFuture(null,dummyId, -1000, new InvokeCallback() { ResponseFuture responseFuture = new ResponseFuture(null, dummyId, -1000, new InvokeCallback() {
@Override @Override
public void operationComplete(final ResponseFuture responseFuture) { public void operationComplete(final ResponseFuture responseFuture) {
} }
......
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
*/ */
package org.apache.rocketmq.remoting.netty; package org.apache.rocketmq.remoting.netty;
import java.lang.reflect.Field;
import java.util.concurrent.ExecutorService; import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors; import java.util.concurrent.Executors;
import org.junit.Test; import org.junit.Test;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册