aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/TestRepository.java
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2021-12-04 20:41:39 +0100
committerMatthias Sohn <matthias.sohn@sap.com>2021-12-04 20:42:56 +0100
commit1cffba4385b423c5a6958de06a80b7bf99aa6c1e (patch)
tree78069d4564528d29999dbf63049080d4a809aa6c /org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/TestRepository.java
parentb868f9101306e6128fff85c52a0ea6acd4488f07 (diff)
parente14b25f2400da21aac1f113a8d2983e84478ea34 (diff)
downloadjgit-1cffba4385b423c5a6958de06a80b7bf99aa6c1e.tar.gz
jgit-1cffba4385b423c5a6958de06a80b7bf99aa6c1e.zip
Merge branch 'stable-5.11' into stable-5.12
* stable-5.11: Add missing @since tags Add missing @since tag Add missing @since tags Remove unused import in ApacheSshTest Update maven plugins Ignore missing javadoc in test bundles storage: file: De-duplicate File.exists()+File.isFile() RefDirectory.scanRef: Re-use file existence check done in snapshot creation FileSnapshot: Lazy load file store attributes cache Update eclipse-jarsigner-plugin to 1.3.2 Fix p2 repository URLs Change-Id: I72f39fbe82dd578d71aa2e3ceccebb39a25c4e00
Diffstat (limited to 'org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/TestRepository.java')
-rw-r--r--org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/TestRepository.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/TestRepository.java b/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/TestRepository.java
index 0232156a49..54e4a09ee5 100644
--- a/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/TestRepository.java
+++ b/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/TestRepository.java
@@ -339,6 +339,7 @@ public class TestRepository<R extends Repository> implements AutoCloseable {
* zero or more IDs of the commit's parents.
* @return the ID of the new commit.
* @throws Exception
+ * @since 5.5
*/
public ObjectId unparsedCommit(ObjectId... parents) throws Exception {
return unparsedCommit(1, tree(), parents);
@@ -431,6 +432,7 @@ public class TestRepository<R extends Repository> implements AutoCloseable {
* zero or more IDs of the commit's parents.
* @return the ID of the new commit.
* @throws Exception
+ * @since 5.5
*/
public ObjectId unparsedCommit(final int secDelta, final RevTree tree,
final ObjectId... parents) throws Exception {