mirror of
https://github.com/apache/httpcomponents-client.git
synced 2025-02-18 16:07:11 +00:00
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 void testResponseMatchesCacheEntry() {
|
|||||||
Assert.assertTrue(response.containsHeader("Content-Length"));
|
Assert.assertTrue(response.containsHeader("Content-Length"));
|
||||||
|
|
||||||
Assert.assertSame("HTTP", response.getProtocolVersion().getProtocol());
|
Assert.assertSame("HTTP", response.getProtocolVersion().getProtocol());
|
||||||
Assert.assertSame(1, response.getProtocolVersion().getMajor());
|
Assert.assertEquals(1, response.getProtocolVersion().getMajor());
|
||||||
Assert.assertSame(1, response.getProtocolVersion().getMinor());
|
Assert.assertEquals(1, response.getProtocolVersion().getMinor());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user