HpackDecoderTest cleanup
Motivation: public ExpectedException fields should be final. setUp method signature has a throws, but it isn't necessary
This commit is contained in:
parent
61dba95091
commit
322a062185
@ -58,7 +58,7 @@ import static org.mockito.Mockito.verifyNoMoreInteractions;
|
||||
|
||||
public class HpackDecoderTest {
|
||||
@Rule
|
||||
public ExpectedException expectedException = ExpectedException.none();
|
||||
public final ExpectedException expectedException = ExpectedException.none();
|
||||
|
||||
private HpackDecoder hpackDecoder;
|
||||
private Http2Headers mockHeaders;
|
||||
@ -78,7 +78,7 @@ public class HpackDecoderTest {
|
||||
}
|
||||
|
||||
@Before
|
||||
public void setUp() throws Http2Exception {
|
||||
public void setUp() {
|
||||
hpackDecoder = new HpackDecoder(8192, 32);
|
||||
mockHeaders = mock(Http2Headers.class);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user