Fix an inspector warning
This commit is contained in:
parent
4a86446053
commit
50f8cc98d1
@ -35,7 +35,7 @@ public class SocksCmdResponseDecoderTest {
|
|||||||
if (addressType == SocksAddressType.UNKNOWN) {
|
if (addressType == SocksAddressType.UNKNOWN) {
|
||||||
assertTrue(embedder.readInbound() instanceof UnknownSocksResponse);
|
assertTrue(embedder.readInbound() instanceof UnknownSocksResponse);
|
||||||
} else {
|
} else {
|
||||||
msg = (SocksResponse) embedder.readInbound();
|
msg = embedder.readInbound();
|
||||||
assertEquals(((SocksCmdResponse) msg).cmdStatus(), cmdStatus);
|
assertEquals(((SocksCmdResponse) msg).cmdStatus(), cmdStatus);
|
||||||
if (host != null) {
|
if (host != null) {
|
||||||
assertEquals(((SocksCmdResponse) msg).host(), host);
|
assertEquals(((SocksCmdResponse) msg).host(), host);
|
||||||
|
Loading…
Reference in New Issue
Block a user