diff options
author | Christian Halstrick <christian.halstrick@sap.com> | 2011-08-24 10:15:36 -0400 |
---|---|---|
committer | Code Review <codereview-daemon@eclipse.org> | 2011-08-24 10:15:36 -0400 |
commit | eb5e9532dfd04959f3c1fea79133c357ce5cbfc0 (patch) | |
tree | e6b380309d991d35aa2d9d20f2578d377218534c | |
parent | c35c23db8d75f0cfbd7538d64fb43dc80bb52e7e (diff) | |
parent | 90c96eb9031d16c2a4986b993ac3a32882a4fd92 (diff) | |
download | jgit-eb5e9532dfd04959f3c1fea79133c357ce5cbfc0.tar.gz jgit-eb5e9532dfd04959f3c1fea79133c357ce5cbfc0.zip |
Merge "Fix boxing warnings in PushProcessTest"
-rw-r--r-- | org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/PushProcessTest.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/PushProcessTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/PushProcessTest.java index 8b904bb2ca..f47401d3e1 100644 --- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/PushProcessTest.java +++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/PushProcessTest.java @@ -99,7 +99,7 @@ public class PushProcessTest extends SampleDataRepositoryTestCase { "refs/heads/master", false, null, null); final Ref ref = new ObjectIdRef.Unpeeled(Ref.Storage.LOOSE, "refs/heads/master", ObjectId.fromString("ac7e7e44c1885efb472ad54a78327d66bfc4ecef")); - testOneUpdateStatus(rru, ref, Status.OK, true); + testOneUpdateStatus(rru, ref, Status.OK, Boolean.TRUE); } /** @@ -146,7 +146,7 @@ public class PushProcessTest extends SampleDataRepositoryTestCase { "refs/heads/master", true, null, null); final Ref ref = new ObjectIdRef.Unpeeled(Ref.Storage.LOOSE, "refs/heads/master", ObjectId.fromString("2c349335b7f797072cf729c4f3bb0914ecb6dec9")); - testOneUpdateStatus(rru, ref, Status.OK, false); + testOneUpdateStatus(rru, ref, Status.OK, Boolean.FALSE); } /** @@ -159,7 +159,7 @@ public class PushProcessTest extends SampleDataRepositoryTestCase { final RemoteRefUpdate rru = new RemoteRefUpdate(db, "ac7e7e44c1885efb472ad54a78327d66bfc4ecef", "refs/heads/master", false, null, null); - testOneUpdateStatus(rru, null, Status.OK, true); + testOneUpdateStatus(rru, null, Status.OK, Boolean.TRUE); } /** @@ -173,7 +173,7 @@ public class PushProcessTest extends SampleDataRepositoryTestCase { "refs/heads/master", false, null, null); final Ref ref = new ObjectIdRef.Unpeeled(Ref.Storage.LOOSE, "refs/heads/master", ObjectId.fromString("2c349335b7f797072cf729c4f3bb0914ecb6dec9")); - testOneUpdateStatus(rru, ref, Status.OK, true); + testOneUpdateStatus(rru, ref, Status.OK, Boolean.TRUE); } /** @@ -217,7 +217,7 @@ public class PushProcessTest extends SampleDataRepositoryTestCase { .fromString("ac7e7e44c1885efb472ad54a78327d66bfc4ecef")); final Ref ref = new ObjectIdRef.Unpeeled(Ref.Storage.LOOSE, "refs/heads/master", ObjectId.fromString("ac7e7e44c1885efb472ad54a78327d66bfc4ecef")); - testOneUpdateStatus(rru, ref, Status.OK, true); + testOneUpdateStatus(rru, ref, Status.OK, Boolean.TRUE); } /** @@ -290,7 +290,7 @@ public class PushProcessTest extends SampleDataRepositoryTestCase { advertisedRefs.add(refToChange); executePush(); assertEquals(Status.OK, rruOk.getStatus()); - assertEquals(true, rruOk.isFastForward()); + assertTrue(rruOk.isFastForward()); assertEquals(Status.NON_EXISTING, rruReject.getStatus()); } @@ -384,7 +384,7 @@ public class PushProcessTest extends SampleDataRepositoryTestCase { final PushResult result = executePush(); assertEquals(expectedStatus, rru.getStatus()); if (fastForward != null) - assertEquals(fastForward.booleanValue(), rru.isFastForward()); + assertEquals(fastForward, Boolean.valueOf(rru.isFastForward())); return result; } |