diff options
author | Chris Aniszczyk <caniszczyk@gmail.com> | 2010-08-18 20:56:27 -0500 |
---|---|---|
committer | Chris Aniszczyk <caniszczyk@gmail.com> | 2010-08-18 20:58:25 -0500 |
commit | 6c9d82b4ce0445905db1d88f419bb8d04a5ed4bc (patch) | |
tree | ac709db749cd853106c45cece13b2852f19eb435 /org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectInserter.java | |
parent | 07a1d17858cacb28f4aab9315845341de69c2c4f (diff) | |
download | jgit-6c9d82b4ce0445905db1d88f419bb8d04a5ed4bc.tar.gz jgit-6c9d82b4ce0445905db1d88f419bb8d04a5ed4bc.zip |
Remove getter and setter for author in Tag
There was a duplicated getter and setter for tagger in Tag.
There's no needed to have two getters and setters that represent
the same things. The appropriate tests were updated also.
Change-Id: If46dc00c4c0f31ea4234c6d3bda3c03e6ebbafac
Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectInserter.java')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectInserter.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectInserter.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectInserter.java index fd99d39e78..3d700ac49e 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectInserter.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectInserter.java @@ -2,6 +2,7 @@ * Copyright (C) 2007, Robin Rosenberg <robin.rosenberg@dewire.com> * Copyright (C) 2008, Shawn O. Pearce <spearce@spearce.org> * Copyright (C) 2009, Google Inc. + * Copyright (C) 2010, Chris Aniszczyk <caniszczyk@gmail.com> * and other copyright owners as documented in the project's IP log. * * This program and the accompanying materials are made available @@ -378,7 +379,7 @@ public abstract class ObjectInserter { w.write("\n"); w.write("tagger "); - w.write(tag.getAuthor().toExternalString()); + w.write(tag.getTagger().toExternalString()); w.write('\n'); w.write('\n'); |