Skip to content

Commit 7c1bd7d

Browse files
committed
fix(net):fix checkstyle issues
1 parent a3afa12 commit 7c1bd7d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

framework/src/test/java/org/tron/core/net/services/SyncServiceTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
package org.tron.core.net.services;
22

3+
import java.io.File;
4+
import java.lang.reflect.Field;
5+
import java.net.InetSocketAddress;
36
import org.junit.After;
47
import org.junit.Assert;
58
import org.junit.Before;
@@ -16,9 +19,6 @@
1619
import org.tron.core.net.service.sync.SyncService;
1720
import org.tron.p2p.connection.Channel;
1821

19-
import java.io.File;
20-
import java.lang.reflect.Field;
21-
import java.net.InetSocketAddress;
2222

2323
public class SyncServiceTest {
2424
protected TronApplicationContext context;
@@ -58,7 +58,7 @@ public void test() {
5858
peer = context.getBean(PeerConnection.class);
5959
Assert.assertNull(peer.getSyncChainRequested());
6060
Channel c1 = new Channel();
61-
InetSocketAddress a1 =new InetSocketAddress("127.0.0.1", 10001);
61+
InetSocketAddress a1 = new InetSocketAddress("127.0.0.1", 10001);
6262
Field field = c1.getClass().getDeclaredField("inetSocketAddress");
6363
field.setAccessible(true);
6464
field.set(c1, a1.getAddress());

0 commit comments

Comments
 (0)