瀏覽代碼

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…
取消
儲存