diff options
author | Kevin Sawicki <kevin@github.com> | 2011-06-30 09:38:43 -0700 |
---|---|---|
committer | Kevin Sawicki <kevin@github.com> | 2011-06-30 09:38:43 -0700 |
commit | a5b5d5a9b238e6e81b986f48d6d962ced7b8931a (patch) | |
tree | 90f09faba83dae98845e69cbd238b58ee54e63bb /org.eclipse.jgit | |
parent | eb46d7ffdc6dee1f8570d4be3b6c33cee8fa91c7 (diff) | |
download | jgit-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.java | 5 |
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; |