From 7ed1ef953cec6835e254df0abdd8b70c5dc545c2 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Mon, 28 Nov 2011 16:14:21 -0800 Subject: [PATCH] Implement Serializable interface in ReflogEntry Change-Id: Idf798dd3981bef3dc9e17c13c12809f89089e96f --- .../src/org/eclipse/jgit/storage/file/ReflogEntry.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 ad2e616aa..f0416ff9b 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;