cleanup: Drop unused parameter on DhtPackParser

Change-Id: I8f2cd0a04cc95a02c49c16dade1b3509cba02e2d
This commit is contained in:
Robin Rosenberg 2012-03-09 13:01:40 +01:00
parent dd830f0a8d
commit 3cd7f09eec
1 changed files with 4 additions and 4 deletions

View File

@ -1016,11 +1016,11 @@ protected void onInflatedObjectData(PackedObjectInfo obj, int typeCode,
break;
case OBJ_TREE:
onTree(info, data);
onTree(data);
break;
case OBJ_TAG:
onTag(info, data);
onTag(data);
break;
}
}
@ -1045,7 +1045,7 @@ private void onCommit(DhtInfo obj, byte[] raw) throws DhtException {
}
}
private void onTree(DhtInfo obj, byte[] data) {
private void onTree(byte[] data) {
if (isSaveAsCachedPack()) {
treeParser.reset(data);
while (!treeParser.eof()) {
@ -1056,7 +1056,7 @@ private void onTree(DhtInfo obj, byte[] data) {
}
}
private void onTag(DhtInfo obj, byte[] data) {
private void onTag(byte[] data) {
if (isSaveAsCachedPack()) {
idBuffer.fromString(data, 7); // "object $sha1"
lookupByName(idBuffer).setReferenced();