Fix non-parameterized generic type warning

Change-Id: Ib857166f64420aebf7c31d72825cac44bd770dbd
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
This commit is contained in:
Matthias Sohn 2016-07-04 23:58:56 +02:00
parent 63bfd9b976
commit b4d3338225
1 changed files with 3 additions and 1 deletions

View File

@ -117,7 +117,9 @@ protected List<AccessEvent> getRequests(String path) {
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) {