Fix inspector warnings
This commit is contained in:
parent
ecaba68348
commit
d3327e7f46
|
@ -24,7 +24,7 @@ import java.security.SecureRandom;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.Random;
|
import java.util.Random;
|
||||||
|
|
||||||
import static io.netty.util.CharsetUtil.UTF_8;
|
import static io.netty.util.CharsetUtil.*;
|
||||||
import static org.junit.Assert.*;
|
import static org.junit.Assert.*;
|
||||||
|
|
||||||
/** {@link AbstractMemoryHttpData} test cases. */
|
/** {@link AbstractMemoryHttpData} test cases. */
|
||||||
|
@ -59,7 +59,6 @@ public class AbstractMemoryHttpDataTest {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/** Memory-based HTTP data implementation for test purposes. */
|
/** Memory-based HTTP data implementation for test purposes. */
|
||||||
private static final class TestHttpData extends AbstractMemoryHttpData {
|
private static final class TestHttpData extends AbstractMemoryHttpData {
|
||||||
/**
|
/**
|
||||||
|
@ -87,5 +86,15 @@ public class AbstractMemoryHttpDataTest {
|
||||||
public int compareTo(InterfaceHttpData o) {
|
public int compareTo(InterfaceHttpData o) {
|
||||||
throw new UnsupportedOperationException("Should never be called.");
|
throw new UnsupportedOperationException("Should never be called.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return super.hashCode();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(Object obj) {
|
||||||
|
return super.equals(obj);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user