summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit
diff options
context:
space:
mode:
authorShawn Pearce <spearce@spearce.org>2011-11-28 21:50:40 -0500
committerCode Review <codereview-daemon@eclipse.org>2011-11-28 21:50:40 -0500
commit5e5640ff6273bb2beefd1704c027ac5f25158cf8 (patch)
tree292124f86c963e32bb1be7cc6d8e4e94ab7b7bd1 /org.eclipse.jgit
parentb4ff1e1e034d9409f5f4fe805148712c31b104eb (diff)
parent7ed1ef953cec6835e254df0abdd8b70c5dc545c2 (diff)
downloadjgit-5e5640ff6273bb2beefd1704c027ac5f25158cf8.tar.gz
jgit-5e5640ff6273bb2beefd1704c027ac5f25158cf8.zip
Merge "Implement Serializable interface in ReflogEntry"
Diffstat (limited to 'org.eclipse.jgit')
-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 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;