Make AbbreviatedObjectId serializable
AmbiguousObjectException contains an AbbreviatedObjectId and is supposed to be serializable, so it should be serializable as well. Change-Id: I8056e78aee20fdd3cb9600b52cd8ed988544293d
This commit is contained in:
parent
79ca8a2d19
commit
80a4ea95e4
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue