diff options
author | Shawn Pearce <spearce@spearce.org> | 2013-04-04 11:03:30 -0700 |
---|---|---|
committer | Shawn Pearce <spearce@spearce.org> | 2013-04-04 11:04:32 -0700 |
commit | 876a2ffb21372091f6ac321bc6d70726009131d4 (patch) | |
tree | d5614693f4435f948ad766e9af4e17522d2a0970 /org.eclipse.jgit/src | |
parent | 594d4ceb12aa0e8df9dfe964de620de8dd6d79f5 (diff) | |
download | jgit-876a2ffb21372091f6ac321bc6d70726009131d4.tar.gz jgit-876a2ffb21372091f6ac321bc6d70726009131d4.zip |
Remove unused method isDeltaAttempted()
This flag is never checked on its own. It is only checked as part
of a pair through the doNotAttemptDelta() method. Delete the method
so there is less confusion about the flag being used on its own.
Change-Id: Id7088caa649599f4f11d633412c2a2af0fd45dd8
Diffstat (limited to 'org.eclipse.jgit/src')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/ObjectToPack.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/ObjectToPack.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/ObjectToPack.java index 847684fd6e..9a070ce3df 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/ObjectToPack.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/ObjectToPack.java @@ -258,10 +258,6 @@ public class ObjectToPack extends PackedObjectInfo { return (flags & ATTEMPT_DELTA_MASK) == ATTEMPT_DELTA_MASK; } - boolean isDeltaAttempted() { - return (flags & DELTA_ATTEMPTED) != 0; - } - void setDeltaAttempted(boolean deltaAttempted) { if (deltaAttempted) flags |= DELTA_ATTEMPTED; |