Browse Source

Merge changes I1a4181fc,Ic2db0511

* changes:
  Silence non-externalized string warning in PackParser
  Replace call to deprecated release() by close() in PackParser
stable-4.1
Shawn Pearce 10 years ago committed by Gerrit Code Review @ Eclipse.org
parent
commit
9bea73693e
  1. 4
      org.eclipse.jgit/src/org/eclipse/jgit/transport/PackParser.java

4
org.eclipse.jgit/src/org/eclipse/jgit/transport/PackParser.java

@ -529,7 +529,7 @@ public abstract class PackParser {
} finally { } finally {
try { try {
if (readCurs != null) if (readCurs != null)
readCurs.release(); readCurs.close();
} finally { } finally {
readCurs = null; readCurs = null;
} }
@ -812,7 +812,7 @@ public abstract class PackParser {
for (final DeltaChain base : missing) { for (final DeltaChain base : missing) {
if (base.head != null) if (base.head != null)
throw new MissingObjectException(base, "delta base"); throw new MissingObjectException(base, "delta base"); //$NON-NLS-1$
} }
onEndThinPack(); onEndThinPack();

Loading…
Cancel
Save