]> source.dussan.org Git - jgit.git/commitdiff
Fix non-parameterized generic type warning 56/76556/3
authorMatthias Sohn <matthias.sohn@sap.com>
Mon, 4 Jul 2016 21:58:56 +0000 (23:58 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Mon, 8 Aug 2016 06:43:09 +0000 (02:43 -0400)
Change-Id: Ib857166f64420aebf7c31d72825cac44bd770dbd
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/HttpTestCase.java

index 84bb888619410d3989d909472485a065271639db..ab5d3e1d906f79ecea50afa12f545f99a3700d25 100644 (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) {