diff options
author | Shawn Pearce <spearce@spearce.org> | 2011-07-01 10:55:02 -0400 |
---|---|---|
committer | Code Review <codereview-daemon@eclipse.org> | 2011-07-01 10:55:02 -0400 |
commit | 186b71f7e6638d9ae05c4d991d308a6e8c3825fb (patch) | |
tree | 32ba20e76502dad1c971cd5a85c8240c48914467 /org.eclipse.jgit | |
parent | 5223cb6e5adc19e3d2bc28f384878194e9205042 (diff) | |
parent | a5b5d5a9b238e6e81b986f48d6d962ced7b8931a (diff) | |
download | jgit-186b71f7e6638d9ae05c4d991d308a6e8c3825fb.tar.gz jgit-186b71f7e6638d9ae05c4d991d308a6e8c3825fb.zip |
Merge "Implement Serializable interface in PersonIdent class."
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; |