From fceac7e44d53d6b0ac56be9d5d4ac6607cdd5878 Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Mon, 20 Feb 2017 11:32:22 +0900 Subject: [PATCH] Add some more missing @Override annotations Change-Id: Ic13160920b986edde87c928c473240cc9c034f50 Signed-off-by: David Pursehouse --- .../eclipse/jgit/internal/storage/file/GcOrphanFilesTest.java | 1 + .../src/org/eclipse/jgit/transport/RefLeaseSpec.java | 1 + 2 files changed, 2 insertions(+) diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/file/GcOrphanFilesTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/file/GcOrphanFilesTest.java index d9317b89a..539398778 100644 --- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/file/GcOrphanFilesTest.java +++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/file/GcOrphanFilesTest.java @@ -67,6 +67,7 @@ public class GcOrphanFilesTest extends GcTestCase { private File packDir; + @Override @Before public void setUp() throws Exception { super.setUp(); diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/RefLeaseSpec.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/RefLeaseSpec.java index d79e3dea0..734f523c4 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/RefLeaseSpec.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/RefLeaseSpec.java @@ -89,6 +89,7 @@ public class RefLeaseSpec implements Serializable { return expected; } + @Override public String toString() { final StringBuilder r = new StringBuilder(); r.append(getRef());