mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-02-23 06:50:49 +01:00
refactor: remove redundant type arguments
This commit is contained in:
@@ -568,7 +568,7 @@ public class DefaultRepositoryManagerTest extends ManagerTestBase<Repository, Re
|
||||
}
|
||||
|
||||
private RepositoryMatcher createRepositoryMatcher() {
|
||||
return new RepositoryMatcher(Collections.<RepositoryPathMatcher>emptySet());
|
||||
return new RepositoryMatcher(Collections.emptySet());
|
||||
}
|
||||
|
||||
private Repository createRepository(Repository repository) throws RepositoryException, IOException {
|
||||
|
||||
@@ -48,7 +48,7 @@ public class RepositoryMatcherTest {
|
||||
|
||||
@Before
|
||||
public void setUp() {
|
||||
Set<RepositoryPathMatcher> pathMatchers = Sets.<RepositoryPathMatcher>newHashSet(new AbcRepositoryPathMatcher());
|
||||
Set<RepositoryPathMatcher> pathMatchers = Sets.newHashSet(new AbcRepositoryPathMatcher());
|
||||
this.matcher = new RepositoryMatcher(pathMatchers);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user