Fix PersonIdent to always use SystemReader
commit23cb7f9d5c1fa1c57cc59350ff16a9ecff527313
authorShawn O. Pearce <spearce@spearce.org>
Wed, 6 Jan 2010 23:16:05 +0000 (6 15:16 -0800)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 12 Jan 2010 19:56:55 +0000 (12 11:56 -0800)
tree9861ca85a363a7468ee54ad198ca4d59fd99ca67
parentde45869e1dc28fa99951709b9485a35dbcea4444
Fix PersonIdent to always use SystemReader

Under unit tests we want the when and timezone to come from the
MockSystemReader and be stable.  We did this for the default
constructor based on the Repository, but failed to do it for the
name,emailAddress variant of the constructor.

Change-Id: I608ac7cf01673729303395e19b379b38fef136b3
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.eclipse.jgit/src/org/eclipse/jgit/lib/PersonIdent.java