Permalink
Browse files

Fix an inspector warning

  • Loading branch information...
1 parent 4a86446 commit 50f8cc98d1f8462bcbf346edfc96c1155ae432a4 @trustin trustin committed Feb 6, 2014
View
2 codec-socks/src/test/java/io/netty/handler/codec/socks/SocksCmdResponseDecoderTest.java
@@ -35,7 +35,7 @@ private static void testSocksCmdResponseDecoderWithDifferentParams(
if (addressType == SocksAddressType.UNKNOWN) {
assertTrue(embedder.readInbound() instanceof UnknownSocksResponse);
} else {
- msg = (SocksResponse) embedder.readInbound();
+ msg = embedder.readInbound();
assertEquals(((SocksCmdResponse) msg).cmdStatus(), cmdStatus);
if (host != null) {
assertEquals(((SocksCmdResponse) msg).host(), host);

0 comments on commit 50f8cc9

Please sign in to comment.