]> source.dussan.org Git - archiva.git/commitdiff
diamond operator
authorOlivier Lamy <olamy@apache.org>
Wed, 16 Apr 2014 06:15:07 +0000 (16:15 +1000)
committerOlivier Lamy <olamy@apache.org>
Wed, 16 Apr 2014 06:15:07 +0000 (16:15 +1000)
archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/DefaultMetadataResolver.java

index a8d67f1aeb674ccc7cb259ddfdfcf746baf9806c..903aed64efded5d195730c4c4091215b4c50348a 100644 (file)
@@ -301,7 +301,7 @@ public class DefaultMetadataResolver
             exclusions.addAll( namespaces );
 
             Collection<String> storageProjects =
-                repositoryStorage.listProjects( repoId, namespace, new ExcludesFilter<String>( exclusions ) );
+                repositoryStorage.listProjects( repoId, namespace, new ExcludesFilter<>( exclusions ) );
             if ( storageProjects != null && !storageProjects.isEmpty() )
             {