Browse Source

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
stable-3.0
Shawn Pearce 12 years ago
parent
commit
876a2ffb21
  1. 4
      org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/ObjectToPack.java

4
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;

Loading…
Cancel
Save