From: Matthias Sohn Date: Sun, 20 Nov 2022 19:34:57 +0000 (+0100) Subject: Fix boxing warnings in TransportTest X-Git-Tag: v6.4.0.202211231055-rc1~1^2~8 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fchanges%2F49%2F197149%2F1;p=jgit.git Fix boxing warnings in TransportTest Change-Id: I7e6dc845b89899cff262fab77c3977dbef5eea02 --- diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/TransportTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/TransportTest.java index b1344b7aa2..92da34016b 100644 --- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/TransportTest.java +++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/TransportTest.java @@ -250,7 +250,7 @@ public class TransportTest extends SampleDataRepositoryTestCase { assertTrue(pushConnection instanceof BasePackPushConnection); @SuppressWarnings("resource") BasePackPushConnection basePackPushConnection = (BasePackPushConnection) pushConnection; - assertEquals(true, basePackPushConnection.isUseBitmaps()); + assertTrue(basePackPushConnection.isUseBitmaps()); } } // true @@ -260,7 +260,7 @@ public class TransportTest extends SampleDataRepositoryTestCase { assertTrue(pushConnection instanceof BasePackPushConnection); @SuppressWarnings("resource") BasePackPushConnection basePackPushConnection = (BasePackPushConnection) pushConnection; - assertEquals(true, basePackPushConnection.isUseBitmaps()); + assertTrue(basePackPushConnection.isUseBitmaps()); } } // false @@ -270,7 +270,7 @@ public class TransportTest extends SampleDataRepositoryTestCase { assertTrue(pushConnection instanceof BasePackPushConnection); @SuppressWarnings("resource") BasePackPushConnection basePackPushConnection = (BasePackPushConnection) pushConnection; - assertEquals(false, basePackPushConnection.isUseBitmaps()); + assertFalse(basePackPushConnection.isUseBitmaps()); } } }