summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.storage.dht/src/org/eclipse
diff options
context:
space:
mode:
authorRobin Rosenberg <robin.rosenberg@dewire.com>2012-03-09 13:01:40 +0100
committerRobin Rosenberg <robin.rosenberg@dewire.com>2012-03-09 13:30:19 +0100
commit3cd7f09eecf849ae6797ed6dd02c88b750eb5d5d (patch)
tree58f8f78170647cef3ed9e457bded3871dbdf31a7 /org.eclipse.jgit.storage.dht/src/org/eclipse
parentdd830f0a8d41f06cc130914304046cbcd0685b4e (diff)
downloadjgit-3cd7f09eecf849ae6797ed6dd02c88b750eb5d5d.tar.gz
jgit-3cd7f09eecf849ae6797ed6dd02c88b750eb5d5d.zip
cleanup: Drop unused parameter on DhtPackParser
Change-Id: I8f2cd0a04cc95a02c49c16dade1b3509cba02e2d
Diffstat (limited to 'org.eclipse.jgit.storage.dht/src/org/eclipse')
-rw-r--r--org.eclipse.jgit.storage.dht/src/org/eclipse/jgit/storage/dht/DhtPackParser.java8
1 files 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 fdc143621c..a3972474e0 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();