Browse Source

Merge "Silence non-externalized string warning in PackIndexV2"

stable-4.1
Shawn Pearce 10 years ago committed by Gerrit Code Review @ Eclipse.org
parent
commit
96a5ec43fa
  1. 2
      org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/PackIndexV2.java

2
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/PackIndexV2.java

@ -232,7 +232,7 @@ class PackIndexV2 extends PackIndex {
final int levelOne = objId.getFirstByte(); final int levelOne = objId.getFirstByte();
final int levelTwo = binarySearchLevelTwo(objId, levelOne); final int levelTwo = binarySearchLevelTwo(objId, levelOne);
if (levelTwo == -1) if (levelTwo == -1)
throw new MissingObjectException(objId.copy(), "unknown"); throw new MissingObjectException(objId.copy(), "unknown"); //$NON-NLS-1$
return NB.decodeUInt32(crc32[levelOne], levelTwo << 2); return NB.decodeUInt32(crc32[levelOne], levelTwo << 2);
} }

Loading…
Cancel
Save