Simplify and eliminate boxing warnings
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1023978 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fa172d971d
commit
15c154c8ac
|
@ -105,12 +105,9 @@ public class TestHttpRoute {
|
|||
PROXY3, route.getHopTarget(2));
|
||||
Assert.assertEquals("wrong hop 3",
|
||||
TARGET1, route.getHopTarget(3));
|
||||
Assert.assertEquals("wrong flag: secured",
|
||||
false, route.isSecure());
|
||||
Assert.assertEquals("wrong flag: tunnelled",
|
||||
false, route.isTunnelled());
|
||||
Assert.assertEquals("wrong flag: layered",
|
||||
false, route.isLayered());
|
||||
Assert.assertFalse("wrong flag: secured", route.isSecure());
|
||||
Assert.assertFalse("wrong flag: tunnelled", route.isTunnelled());
|
||||
Assert.assertFalse("wrong flag: layered", route.isLayered());
|
||||
|
||||
String routestr = route.toString();
|
||||
Assert.assertTrue("missing target in toString",
|
||||
|
|
Loading…
Reference in New Issue