Преглед на файлове

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 преди 8 години
родител
ревизия
b4d3338225
променени са 1 файла, в които са добавени 3 реда и са изтрити 1 реда
  1. 3
    1
      org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/HttpTestCase.java

+ 3
- 1
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) {

Loading…
Отказ
Запис