Browse Source

Implement Serializable interface in PersonIdent class.

Change-Id: I3229f4ec85e7604cb45642813757975b30f1227e
Signed-off-by: Kevin Sawicki <kevin@github.com>
stable-1.1
Kevin Sawicki 14 years ago
parent
commit
a5b5d5a9b2
  1. 5
      org.eclipse.jgit/src/org/eclipse/jgit/lib/PersonIdent.java

5
org.eclipse.jgit/src/org/eclipse/jgit/lib/PersonIdent.java

@ -45,6 +45,7 @@
package org.eclipse.jgit.lib; package org.eclipse.jgit.lib;
import java.io.Serializable;
import java.text.SimpleDateFormat; import java.text.SimpleDateFormat;
import java.util.Date; import java.util.Date;
import java.util.Locale; 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 * Git combines Name + email + time + time zone to specify who wrote or
* committed something. * committed something.
*/ */
public class PersonIdent { public class PersonIdent implements Serializable {
private static final long serialVersionUID = 1L;
private final String name; private final String name;
private final String emailAddress; private final String emailAddress;

Loading…
Cancel
Save