Permalink
Browse files

Merge "[findBugs] Make ChunkKey serializable"

  • Loading branch information...
robinrosenberg authored and Gerrit Code Review @ Eclipse.org committed Jul 26, 2012
2 parents 778fdfa + c4a4f85 commit d47403ea941e38377425fe55c71c43a45ceef8ca
Showing with 4 additions and 1 deletion.
  1. +4 −1 org.eclipse.jgit.storage.dht/src/org/eclipse/jgit/storage/dht/ChunkKey.java
@@ -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;
/**

0 comments on commit d47403e

Please sign in to comment.