diff options
author | Kevin Sawicki <kevin@github.com> | 2011-11-28 16:14:21 -0800 |
---|---|---|
committer | Kevin Sawicki <kevin@github.com> | 2011-11-28 16:14:21 -0800 |
commit | 7ed1ef953cec6835e254df0abdd8b70c5dc545c2 (patch) | |
tree | e664ea3e104ecab4746534db3c0a46463e1dd774 /org.eclipse.jgit | |
parent | d497c2ac2da24de8865b0f113e07a559a4af951a (diff) | |
download | jgit-7ed1ef953cec6835e254df0abdd8b70c5dc545c2.tar.gz jgit-7ed1ef953cec6835e254df0abdd8b70c5dc545c2.zip |
Implement Serializable interface in ReflogEntry
Change-Id: Idf798dd3981bef3dc9e17c13c12809f89089e96f
Diffstat (limited to 'org.eclipse.jgit')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/storage/file/ReflogEntry.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/storage/file/ReflogEntry.java b/org.eclipse.jgit/src/org/eclipse/jgit/storage/file/ReflogEntry.java index ad2e616aac..f0416ff9ba 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/storage/file/ReflogEntry.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/storage/file/ReflogEntry.java @@ -44,6 +44,8 @@ package org.eclipse.jgit.storage.file; +import java.io.Serializable; + import org.eclipse.jgit.JGitText; import org.eclipse.jgit.lib.Constants; import org.eclipse.jgit.lib.ObjectId; @@ -53,7 +55,9 @@ import org.eclipse.jgit.util.RawParseUtils; /** * Parsed reflog entry */ -public class ReflogEntry { +public class ReflogEntry implements Serializable { + private static final long serialVersionUID = 1L; + private ObjectId oldId; private ObjectId newId; |