Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge "[findBugs] Make ChunkKey serializable"

  • Loading branch information...
commit d47403ea941e38377425fe55c71c43a45ceef8ca 2 parents 778fdfa + c4a4f85
Robin Roenberg authored Gerrit Code Review @ Eclipse.org committed
5  org.eclipse.jgit.storage.dht/src/org/eclipse/jgit/storage/dht/ChunkKey.java
@@ -47,13 +47,16 @@
47 47
 import static org.eclipse.jgit.storage.dht.KeyUtils.parse32;
48 48
 import static org.eclipse.jgit.util.RawParseUtils.decode;
49 49
 
  50
+import java.io.Serializable;
50 51
 import java.text.MessageFormat;
51 52
 
52 53
 import org.eclipse.jgit.lib.Constants;
53 54
 import org.eclipse.jgit.lib.ObjectId;
54 55
 
55 56
 /** Unique identifier of a {@link PackChunk} in the DHT. */
56  
-public final class ChunkKey implements RowKey {
  57
+public final class ChunkKey implements RowKey, Serializable {
  58
+	private static final long serialVersionUID = 1L;
  59
+
57 60
 	static final int KEYLEN = 49;
58 61
 
59 62
 	/**

0 notes on commit d47403e

Please sign in to comment.
Something went wrong with that request. Please try again.