summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit
diff options
context:
space:
mode:
authorKevin Sawicki <kevin@github.com>2011-06-30 09:38:43 -0700
committerKevin Sawicki <kevin@github.com>2011-06-30 09:38:43 -0700
commita5b5d5a9b238e6e81b986f48d6d962ced7b8931a (patch)
tree90f09faba83dae98845e69cbd238b58ee54e63bb /org.eclipse.jgit
parenteb46d7ffdc6dee1f8570d4be3b6c33cee8fa91c7 (diff)
downloadjgit-a5b5d5a9b238e6e81b986f48d6d962ced7b8931a.tar.gz
jgit-a5b5d5a9b238e6e81b986f48d6d962ced7b8931a.zip
Implement Serializable interface in PersonIdent class.
Change-Id: I3229f4ec85e7604cb45642813757975b30f1227e Signed-off-by: Kevin Sawicki <kevin@github.com>
Diffstat (limited to 'org.eclipse.jgit')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/lib/PersonIdent.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/PersonIdent.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/PersonIdent.java
index 38c693883e..1ec8f4c9ea 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/PersonIdent.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/lib/PersonIdent.java
@@ -45,6 +45,7 @@
package org.eclipse.jgit.lib;
+import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
@@ -58,7 +59,9 @@ import org.eclipse.jgit.util.SystemReader;
* Git combines Name + email + time + time zone to specify who wrote or
* committed something.
*/
-public class PersonIdent {
+public class PersonIdent implements Serializable {
+ private static final long serialVersionUID = 1L;
+
private final String name;
private final String emailAddress;