Fix an inspector warning

This commit is contained in:
Trustin Lee 2014-02-06 15:03:03 -08:00
parent 4a86446053
commit 50f8cc98d1

View File

@ -35,7 +35,7 @@ public class SocksCmdResponseDecoderTest {
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);