aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Sawicki2011-06-30 12:38:43 (EDT)
committerKevin Sawicki2011-06-30 12:38:43 (EDT)
commita5b5d5a9b238e6e81b986f48d6d962ced7b8931a (patch)
tree90f09faba83dae98845e69cbd238b58ee54e63bb
parenteb46d7ffdc6dee1f8570d4be3b6c33cee8fa91c7 (diff)
downloadjgit-a5b5d5a9b238e6e81b986f48d6d962ced7b8931a.zip
jgit-a5b5d5a9b238e6e81b986f48d6d962ced7b8931a.tar.gz
jgit-a5b5d5a9b238e6e81b986f48d6d962ced7b8931a.tar.bz2
Implement Serializable interface in PersonIdent class.refs/changes/03/3803/1
Change-Id: I3229f4ec85e7604cb45642813757975b30f1227e Signed-off-by: Kevin Sawicki <kevin@github.com>
-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 38c6938..1ec8f4c 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;