refactor: remove redundant type arguments

This commit is contained in:
broDom
2017-07-03 17:17:39 +02:00
parent efac49ccf7
commit 656288857b
4 changed files with 4 additions and 4 deletions

View File

@@ -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 {

View File

@@ -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);
}