polishing, fixed warning messages

This commit is contained in:
Oleg Zhurakousky
2011-05-03 19:20:57 -04:00
parent a99e51e7b2
commit 765503daa4
11 changed files with 10 additions and 18 deletions

View File

@@ -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);

View File

@@ -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;