Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Kinzler2010-08-31 10:12:07 -0400
committerMathias Kinzler2010-08-31 10:12:07 -0400
commit93f65bb412cf63edc2698a0fbcaa406db28fee43 (patch)
tree81c3aeca0436a985cd790968ac2de72d6119045a /org.eclipse.egit.core.test
parent0bc93db1b887310e5b4bcd095b0097441647b7c8 (diff)
downloadegit-93f65bb412cf63edc2698a0fbcaa406db28fee43.tar.gz
egit-93f65bb412cf63edc2698a0fbcaa406db28fee43.tar.xz
egit-93f65bb412cf63edc2698a0fbcaa406db28fee43.zip
Remove usage of deprecated PersonIdent constructor
Change-Id: I7706a916f8388bbae948d550005584cadb1e836a Signed-off-by: Mathias Kinzler <mathias.kinzler@sap.com>
Diffstat (limited to 'org.eclipse.egit.core.test')
-rw-r--r--org.eclipse.egit.core.test/src/org/eclipse/egit/core/test/op/TagOperationTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.egit.core.test/src/org/eclipse/egit/core/test/op/TagOperationTest.java b/org.eclipse.egit.core.test/src/org/eclipse/egit/core/test/op/TagOperationTest.java
index ed6248b76..a9e05e7c8 100644
--- a/org.eclipse.egit.core.test/src/org/eclipse/egit/core/test/op/TagOperationTest.java
+++ b/org.eclipse.egit.core.test/src/org/eclipse/egit/core/test/op/TagOperationTest.java
@@ -28,11 +28,11 @@ import org.eclipse.egit.core.test.DualRepositoryTestCase;
import org.eclipse.egit.core.test.TestRepository;
import org.eclipse.egit.core.test.TestUtils;
import org.eclipse.jgit.lib.Constants;
-import org.eclipse.jgit.lib.PersonIdent;
import org.eclipse.jgit.lib.Ref;
import org.eclipse.jgit.lib.TagBuilder;
import org.eclipse.jgit.revwalk.RevTag;
import org.eclipse.jgit.revwalk.RevWalk;
+import org.eclipse.jgit.util.RawParseUtils;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
@@ -94,7 +94,7 @@ public class TagOperationTest extends DualRepositoryTestCase {
TagBuilder newTag = new TagBuilder();
newTag.setTag("TheNewTag");
newTag.setMessage("Well, I'm the tag");
- newTag.setTagger(new PersonIdent(TestUtils.AUTHOR));
+ newTag.setTagger(RawParseUtils.parsePersonIdent(TestUtils.AUTHOR));
newTag.setObjectId(repository1.getRepository()
.resolve("refs/heads/master"), Constants.OBJ_COMMIT);
TagOperation top = new TagOperation(repository1.getRepository(),

Back to the top