Avoid autobox warning
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@940058 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8e89d40f37
commit
882eae6219
|
@ -92,8 +92,8 @@ public class TestCachedHttpResponseGenerator {
|
|||
Assert.assertTrue(response.containsHeader("Content-Length"));
|
||||
|
||||
Assert.assertSame("HTTP", response.getProtocolVersion().getProtocol());
|
||||
Assert.assertSame(1, response.getProtocolVersion().getMajor());
|
||||
Assert.assertSame(1, response.getProtocolVersion().getMinor());
|
||||
Assert.assertEquals(1, response.getProtocolVersion().getMajor());
|
||||
Assert.assertEquals(1, response.getProtocolVersion().getMinor());
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Reference in New Issue