[JGIT PATCH 2/5] Add missing @Override annotations to UnpackedObjectLoader

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



These are declared by the base class, ObjectLoader.

Signed-off-by: Shawn O. Pearce <spearce@xxxxxxxxxxx>
---
 .../org/spearce/jgit/lib/UnpackedObjectLoader.java |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/org.spearce.jgit/src/org/spearce/jgit/lib/UnpackedObjectLoader.java b/org.spearce.jgit/src/org/spearce/jgit/lib/UnpackedObjectLoader.java
index 1352b72..e2de41c 100644
--- a/org.spearce.jgit/src/org/spearce/jgit/lib/UnpackedObjectLoader.java
+++ b/org.spearce.jgit/src/org/spearce/jgit/lib/UnpackedObjectLoader.java
@@ -192,10 +192,12 @@ private void decompress(final AnyObjectId id, final Inflater inf, int p)
 			throw new CorruptObjectException(id, "incorrect length");
 	}
 
+	@Override
 	public int getType() {
 		return objectType;
 	}
 
+	@Override
 	public long getSize() {
 		return objectSize;
 	}
-- 
1.6.3.rc1.205.g37f8

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]