diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2010-12-05 08:19:58 -0500 |
---|---|---|
committer | Code Review <codereview-daemon@eclipse.org> | 2010-12-05 08:19:58 -0500 |
commit | c474813b0a4110a96834abc669db9f02fe941d7b (patch) | |
tree | 3214252cba189822372fc3a7f40acd385b735c60 /org.eclipse.jgit.test | |
parent | 40c2f68382184568ddcb568e201dd6fdcafba784 (diff) | |
parent | f996fb1796c260c9848a83f081f78ca53eb206b8 (diff) | |
download | jgit-c474813b0a4110a96834abc669db9f02fe941d7b.tar.gz jgit-c474813b0a4110a96834abc669db9f02fe941d7b.zip |
Merge "Correct CommitBuilder, TagBuilder method to be build()"
Diffstat (limited to 'org.eclipse.jgit.test')
-rw-r--r-- | org.eclipse.jgit.test/tst/org/eclipse/jgit/revwalk/RevCommitParseTest.java | 2 | ||||
-rw-r--r-- | org.eclipse.jgit.test/tst/org/eclipse/jgit/revwalk/RevTagParseTest.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/revwalk/RevCommitParseTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/revwalk/RevCommitParseTest.java index 0ad724731e..2f27847347 100644 --- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/revwalk/RevCommitParseTest.java +++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/revwalk/RevCommitParseTest.java @@ -338,7 +338,7 @@ public class RevCommitParseTest extends RepositoryTestCase { src.setCommitter(committer); src.setMessage("Test commit\n\nThis is a test.\n"); - RevCommit p = RevCommit.parse(src.format()); + RevCommit p = RevCommit.parse(src.build()); assertEquals(src.getTreeId(), p.getTree()); assertEquals(0, p.getParentCount()); assertEquals(author, p.getAuthorIdent()); diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/revwalk/RevTagParseTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/revwalk/RevTagParseTest.java index c694add449..9300ae2e1b 100644 --- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/revwalk/RevTagParseTest.java +++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/revwalk/RevTagParseTest.java @@ -407,7 +407,7 @@ public class RevTagParseTest extends RepositoryTestCase { src.setTag("a.test"); src.setMessage("Test tag\n\nThis is a test.\n"); - RevTag p = RevTag.parse(src.format()); + RevTag p = RevTag.parse(src.build()); assertEquals(src.getObjectId(), p.getObject()); assertEquals(committer, p.getTaggerIdent()); assertEquals("a.test", p.getTagName()); |