fixed various javadoc warnings; downgraded maven-javadoc-plugin to 2.5, as that's the version that gets forced when using Maven 2.1.0 anyway.
This commit is contained in:
@@ -33,9 +33,6 @@ public class CustomNioSocketReader extends NioSocketReader {
|
||||
super(null);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param socket
|
||||
*/
|
||||
public CustomNioSocketReader(SocketChannel channel) {
|
||||
super(channel);
|
||||
}
|
||||
|
||||
@@ -37,10 +37,6 @@ import org.springframework.integration.ip.util.SocketUtils;
|
||||
*/
|
||||
public class NetSocketReaderTests {
|
||||
|
||||
/**
|
||||
* Test method for {@link org.springframework.integration.ip.tcp.NioSocketReader#readFully()},
|
||||
* using <length><message>.
|
||||
*/
|
||||
@Test
|
||||
public void testReadLength() throws Exception {
|
||||
int port = SocketUtils.findAvailableServerSocket();
|
||||
@@ -67,10 +63,6 @@ public class NetSocketReaderTests {
|
||||
server.close();
|
||||
}
|
||||
|
||||
/**
|
||||
* Test method for {@link org.springframework.integration.ip.tcp.NioSocketReader#readFully()},
|
||||
* using STX<message>ETX
|
||||
*/
|
||||
@Test
|
||||
public void testReadStxEtx() throws Exception {
|
||||
int port = SocketUtils.findAvailableServerSocket();
|
||||
@@ -98,10 +90,6 @@ public class NetSocketReaderTests {
|
||||
server.close();
|
||||
}
|
||||
|
||||
/**
|
||||
* Test method for {@link org.springframework.integration.ip.tcp.NioSocketReader#readFully()},
|
||||
* using STX<message>ETX
|
||||
*/
|
||||
@Test
|
||||
public void testReadCrLf() throws Exception {
|
||||
int port = SocketUtils.findAvailableServerSocket();
|
||||
@@ -129,10 +117,6 @@ public class NetSocketReaderTests {
|
||||
server.close();
|
||||
}
|
||||
|
||||
/**
|
||||
* Test method for {@link org.springframework.integration.ip.tcp.NioSocketReader#readFully()},
|
||||
* using STX<message>ETX
|
||||
*/
|
||||
@Test
|
||||
public void testReadSerialized() throws Exception {
|
||||
int port = SocketUtils.findAvailableServerSocket();
|
||||
|
||||
@@ -38,8 +38,6 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||
@RunWith(SpringJUnit4ClassRunner.class)
|
||||
public class SimpleTcpNetInboundGatewayTests {
|
||||
|
||||
private static int startup = 2000;
|
||||
|
||||
@Autowired
|
||||
@Qualifier(value="gatewayCrLf")
|
||||
SimpleTcpNetInboundGateway gatewayCrLf;
|
||||
|
||||
@@ -103,9 +103,6 @@ public class SocketUtils {
|
||||
/**
|
||||
* Test for reassembly of completely fragmented message; sends
|
||||
* 6 bytes 500ms apart.
|
||||
* @param os
|
||||
* @param b
|
||||
* @throws Exception
|
||||
*/
|
||||
public static void testSendFragmented(final int port, final boolean noDelay) {
|
||||
Thread thread = new Thread(new Runnable() {
|
||||
|
||||
Reference in New Issue
Block a user