From: Kevin Sawicki Date: Tue, 29 Nov 2011 00:14:21 +0000 (-0800) Subject: Implement Serializable interface in ReflogEntry X-Git-Tag: v1.2.0.201112221803-r~15^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7ed1ef953cec6835e254df0abdd8b70c5dc545c2;p=jgit.git Implement Serializable interface in ReflogEntry Change-Id: Idf798dd3981bef3dc9e17c13c12809f89089e96f --- 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;