aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Sawicki2011-11-28 19:14:21 (EST)
committerKevin Sawicki2011-11-28 19:14:21 (EST)
commit7ed1ef953cec6835e254df0abdd8b70c5dc545c2 (patch)
treee664ea3e104ecab4746534db3c0a46463e1dd774
parentd497c2ac2da24de8865b0f113e07a559a4af951a (diff)
downloadjgit-7ed1ef953cec6835e254df0abdd8b70c5dc545c2.zip
jgit-7ed1ef953cec6835e254df0abdd8b70c5dc545c2.tar.gz
jgit-7ed1ef953cec6835e254df0abdd8b70c5dc545c2.tar.bz2
Implement Serializable interface in ReflogEntryrefs/changes/88/4688/1
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/storage/file/ReflogEntry.java6
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 ad2e616..f0416ff 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;