[findBugs] Make ChunkKey serializable

It's used in DhtMissingChunkException, which is serializable.

Change-Id: I2b76bc1bc373efd44214be4598a03c62c681a200
Signed-off-by: Robin Stocker <robin@nibor.org>
This commit is contained in:
Robin Stocker 2012-07-15 18:05:15 +02:00
parent 75b60afe41
commit c4a4f851b7
1 changed files with 4 additions and 1 deletions

View File

@ -47,13 +47,16 @@
import static org.eclipse.jgit.storage.dht.KeyUtils.parse32;
import static org.eclipse.jgit.util.RawParseUtils.decode;
import java.io.Serializable;
import java.text.MessageFormat;
import org.eclipse.jgit.lib.Constants;
import org.eclipse.jgit.lib.ObjectId;
/** Unique identifier of a {@link PackChunk} in the DHT. */
public final class ChunkKey implements RowKey {
public final class ChunkKey implements RowKey, Serializable {
private static final long serialVersionUID = 1L;
static final int KEYLEN = 49;
/**