diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2016-07-04 23:58:56 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2016-08-08 02:43:09 -0400 |
commit | b4d33382253efa42d92245d09995b093ec6089ad (patch) | |
tree | 763a913a5012e40399f641d73651a85c4678925a /org.eclipse.jgit.junit.http/src | |
parent | 63bfd9b9766cf84d055fd2871ea858cee4e8c104 (diff) | |
download | jgit-b4d33382253efa42d92245d09995b093ec6089ad.tar.gz jgit-b4d33382253efa42d92245d09995b093ec6089ad.zip |
Fix non-parameterized generic type warning
Change-Id: Ib857166f64420aebf7c31d72825cac44bd770dbd
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.junit.http/src')
-rw-r--r-- | org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/HttpTestCase.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/HttpTestCase.java b/org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/HttpTestCase.java index 84bb888619..ab5d3e1d90 100644 --- a/org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/HttpTestCase.java +++ b/org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/HttpTestCase.java @@ -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) { |