From 143188e831ef22bdd14c43c37202d1e031b584d8 Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Sun, 20 Nov 2022 20:34:57 +0100 Subject: [PATCH] Fix boxing warnings in TransportTest Change-Id: I7e6dc845b89899cff262fab77c3977dbef5eea02 --- .../tst/org/eclipse/jgit/transport/TransportTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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()); } } } -- 2.39.5