]> source.dussan.org Git - jgit.git/commitdiff
Implement Serializable interface in ReflogEntry 88/4688/1
authorKevin Sawicki <kevin@github.com>
Tue, 29 Nov 2011 00:14:21 +0000 (16:14 -0800)
committerKevin Sawicki <kevin@github.com>
Tue, 29 Nov 2011 00:14:21 +0000 (16:14 -0800)
Change-Id: Idf798dd3981bef3dc9e17c13c12809f89089e96f

org.eclipse.jgit/src/org/eclipse/jgit/storage/file/ReflogEntry.java

index ad2e616aace73f80cc1d87aa1458965b9a41c5db..f0416ff9bac362ccc31efb59aad051b166555188 100644 (file)
@@ -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;