diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2010-06-26 17:47:53 -0700 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2010-06-26 18:50:38 -0700 |
commit | 68518ca3aadc83d99e97fcef171b137903d2d05a (patch) | |
tree | 8be1383cf5687187598386db4d25cba4bb340da9 /org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectLoader.java | |
parent | 86547022f02b8e37bb88c8501f1c8c9e59d3b647 (diff) | |
download | jgit-68518ca3aadc83d99e97fcef171b137903d2d05a.tar.gz jgit-68518ca3aadc83d99e97fcef171b137903d2d05a.zip |
Remove getRawSize, getRawType from ObjectLoader
These were only used by PackWriter to help it filter object
representations. Their only user disappeared when we rewrote the
object selection code path to use the new representation type.
Change-Id: I9ed676bfe4f87fcf94aa21e53bda43115912e145
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectLoader.java')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectLoader.java | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectLoader.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectLoader.java index 4839a1c28b..1a8d1ba9b2 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectLoader.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectLoader.java @@ -89,17 +89,4 @@ public abstract class ObjectLoader { * @return the cached bytes of this object. Do not modify it. */ public abstract byte[] getCachedBytes(); - - /** - * @return raw object type from object header, as stored in storage (pack, - * loose file). This may be different from {@link #getType()} result - * for packs (see {@link Constants}). - */ - public abstract int getRawType(); - - /** - * @return raw size of object from object header (pack, loose file). - * Interpretation of this value depends on {@link #getRawType()}. - */ - public abstract long getRawSize(); } |