Merge "Make AbbreviatedObjectId serializable"

This commit is contained in:
Shawn Pearce 2010-10-28 11:47:06 -04:00 committed by Code Review
commit 70b8a470e7
1 changed files with 4 additions and 1 deletions

View File

@ -43,6 +43,7 @@
package org.eclipse.jgit.lib;
import java.io.Serializable;
import java.text.MessageFormat;
import org.eclipse.jgit.JGitText;
@ -61,7 +62,9 @@
* This class converts the hex string into a binary form, to make it more
* efficient for matching against an object.
*/
public final class AbbreviatedObjectId {
public final class AbbreviatedObjectId implements Serializable {
private static final long serialVersionUID = 1L;
/**
* Test a string of characters to verify it is a hex format.
* <p>