From 3cd7f09eecf849ae6797ed6dd02c88b750eb5d5d Mon Sep 17 00:00:00 2001 From: Robin Rosenberg Date: Fri, 9 Mar 2012 13:01:40 +0100 Subject: [PATCH] cleanup: Drop unused parameter on DhtPackParser Change-Id: I8f2cd0a04cc95a02c49c16dade1b3509cba02e2d --- .../src/org/eclipse/jgit/storage/dht/DhtPackParser.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/org.eclipse.jgit.storage.dht/src/org/eclipse/jgit/storage/dht/DhtPackParser.java b/org.eclipse.jgit.storage.dht/src/org/eclipse/jgit/storage/dht/DhtPackParser.java index fdc143621..a3972474e 100644 --- a/org.eclipse.jgit.storage.dht/src/org/eclipse/jgit/storage/dht/DhtPackParser.java +++ b/org.eclipse.jgit.storage.dht/src/org/eclipse/jgit/storage/dht/DhtPackParser.java @@ -1016,11 +1016,11 @@ public class DhtPackParser extends PackParser { break; case OBJ_TREE: - onTree(info, data); + onTree(data); break; case OBJ_TAG: - onTag(info, data); + onTag(data); break; } } @@ -1045,7 +1045,7 @@ public class DhtPackParser extends PackParser { } } - private void onTree(DhtInfo obj, byte[] data) { + private void onTree(byte[] data) { if (isSaveAsCachedPack()) { treeParser.reset(data); while (!treeParser.eof()) { @@ -1056,7 +1056,7 @@ public class DhtPackParser extends PackParser { } } - private void onTag(DhtInfo obj, byte[] data) { + private void onTag(byte[] data) { if (isSaveAsCachedPack()) { idBuffer.fromString(data, 7); // "object $sha1" lookupByName(idBuffer).setReferenced();