diff options
author | Shawn O. Pearce | 2011-03-18 15:37:28 +0000 |
---|---|---|
committer | Shawn O. Pearce | 2011-04-01 21:40:33 +0000 |
commit | 0be24ebf33974d4f1512644608769cb82d1782ea (patch) | |
tree | 3c3c8c3c259a88328d65983e8ecfcfc436e5daab /org.eclipse.jgit/src/org/eclipse/jgit/JGitText.java | |
parent | 9f5bbb5dd41f87d6428eb49c021e00d8099d0c17 (diff) | |
download | jgit-0be24ebf33974d4f1512644608769cb82d1782ea.tar.gz jgit-0be24ebf33974d4f1512644608769cb82d1782ea.tar.xz jgit-0be24ebf33974d4f1512644608769cb82d1782ea.zip |
PackWriter: Remove dummy list 0
Instead of looping over the objectsLists array, always set slot 0 to
null and explicitly work on the 4 indexes that matter. This kills
some loops and increases the length of the code slightly, but I've
always really disliked that dummy 0 slot.
Change-Id: I5ad938501c1c61f637ffdaff0d0d88e3962d8942
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/JGitText.java')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/JGitText.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/JGitText.java b/org.eclipse.jgit/src/org/eclipse/jgit/JGitText.java index 5877b4f6a6..f86a8e5446 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/JGitText.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/JGitText.java @@ -274,7 +274,6 @@ public class JGitText extends TranslationBundle { /***/ public String inMemoryBufferLimitExceeded; /***/ public String incorrectHashFor; /***/ public String incorrectOBJECT_ID_LENGTH; - /***/ public String incorrectObjectType_COMMITnorTREEnorBLOBnorTAG; /***/ public String indexFileIsInUse; /***/ public String indexFileIsTooLargeForJgit; /***/ public String indexSignatureIsInvalid; |