Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Aniszczyk2010-08-18 22:01:58 -0400
committerChris Aniszczyk2010-08-18 22:01:58 -0400
commit4786efe5c5e6aad165f11b2dd72b7dc7f3758e94 (patch)
tree31195017ec24f2020c8974ef3eb04499fdebefe9 /org.eclipse.egit.core.test
parentb818365bd47b0c491b9bff7a8cf648153cc7ad83 (diff)
downloadegit-4786efe5c5e6aad165f11b2dd72b7dc7f3758e94.tar.gz
egit-4786efe5c5e6aad165f11b2dd72b7dc7f3758e94.tar.xz
egit-4786efe5c5e6aad165f11b2dd72b7dc7f3758e94.zip
Keep up with Tag API changes
The Tag API from JGit was changed to remove duplication. Change-Id: I562198f7a6c21b659e78339ef8c4d9d2bff248ab Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.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.java10
1 files changed, 9 insertions, 1 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 f97f37e63..8a473daec 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
@@ -1,3 +1,11 @@
+/*******************************************************************************
+ * Copyright (C) 2010, Chris Aniszczyk <caniszczyk@gmail.com>
+ *
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *******************************************************************************/
package org.eclipse.egit.core.test.op;
import static org.junit.Assert.assertFalse;
@@ -85,7 +93,7 @@ public class TagOperationTest extends DualRepositoryTestCase {
Tag newTag = new Tag(repository1.getRepository());
newTag.setTag("TheNewTag");
newTag.setMessage("Well, I'm the tag");
- newTag.setAuthor(new PersonIdent(TestUtils.AUTHOR));
+ newTag.setTagger(new PersonIdent(TestUtils.AUTHOR));
newTag.setObjId(repository1.getRepository()
.resolve("refs/heads/master"));
TagOperation top = new TagOperation(repository1.getRepository(),

Back to the top