polishing, fixed warning messages
This commit is contained in:
@@ -20,8 +20,6 @@ import java.net.Socket;
|
||||
|
||||
import javax.net.SocketFactory;
|
||||
|
||||
import org.springframework.integration.MessagingException;
|
||||
|
||||
/**
|
||||
* A client connection factory that creates {@link TcpNetConnection}s.
|
||||
* @author Gary Russell
|
||||
|
||||
@@ -50,6 +50,7 @@ public class TcpNioConnectionTests {
|
||||
factory.start();
|
||||
final CountDownLatch latch = new CountDownLatch(1);
|
||||
Executors.newSingleThreadExecutor().execute(new Runnable() {
|
||||
@SuppressWarnings("unused")
|
||||
public void run() {
|
||||
try {
|
||||
ServerSocket server = ServerSocketFactory.getDefault().createServerSocket(port);
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
package org.springframework.integration.ip.tcp.serializer;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertTrue;
|
||||
import static org.junit.Assert.fail;
|
||||
|
||||
import java.io.ByteArrayInputStream;
|
||||
|
||||
Reference in New Issue
Block a user