diff options
author | Robin Rosenberg <robin.rosenberg@dewire.com> | 2012-07-26 17:21:51 -0400 |
---|---|---|
committer | Gerrit Code Review @ Eclipse.org <gerrit@eclipse.org> | 2012-07-26 17:21:51 -0400 |
commit | d47403ea941e38377425fe55c71c43a45ceef8ca (patch) | |
tree | f45239b78e7a613321250ebaf96811b1ed03bc66 | |
parent | 778fdfaec1d1f5b16775264ebf728ee882000154 (diff) | |
parent | c4a4f851b717c5e47029bf5a71da2182b8b4d21f (diff) | |
download | jgit-d47403ea941e38377425fe55c71c43a45ceef8ca.tar.gz jgit-d47403ea941e38377425fe55c71c43a45ceef8ca.zip |
Merge "[findBugs] Make ChunkKey serializable"
-rw-r--r-- | org.eclipse.jgit.storage.dht/src/org/eclipse/jgit/storage/dht/ChunkKey.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/org.eclipse.jgit.storage.dht/src/org/eclipse/jgit/storage/dht/ChunkKey.java b/org.eclipse.jgit.storage.dht/src/org/eclipse/jgit/storage/dht/ChunkKey.java index 11a151f6ba..ced37b31df 100644 --- a/org.eclipse.jgit.storage.dht/src/org/eclipse/jgit/storage/dht/ChunkKey.java +++ b/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.format32; 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; /** |