Browse Source

Merge "Implement Serializable interface in PersonIdent class."

stable-1.1
Shawn Pearce 14 years ago committed by Code Review
parent
commit
186b71f7e6
  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