Browse Source

Fix non-parameterized generic type warning

Change-Id: Ib857166f64420aebf7c31d72825cac44bd770dbd
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
tags/v4.5.0.201609210915-r
Matthias Sohn 7 years ago
parent
commit
b4d3338225

+ 3
- 1
org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/HttpTestCase.java View File

@@ -117,7 +117,9 @@ public abstract class HttpTestCase extends LocalDiskRepositoryTestCase {

protected static void fsck(Repository db, RevObject... tips)
throws Exception {
new TestRepository(db).fsck(tips);
TestRepository<? extends Repository> tr =
new TestRepository<Repository>(db);
tr.fsck(tips);
}

protected static Set<RefSpec> mirror(String... refs) {

Loading…
Cancel
Save