From a5b5d5a9b238e6e81b986f48d6d962ced7b8931a Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Thu, 30 Jun 2011 09:38:43 -0700 Subject: [PATCH] Implement Serializable interface in PersonIdent class. Change-Id: I3229f4ec85e7604cb45642813757975b30f1227e Signed-off-by: Kevin Sawicki --- org.eclipse.jgit/src/org/eclipse/jgit/lib/PersonIdent.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 38c693883..1ec8f4c9e 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;