From: Olivier Lamy Date: Wed, 16 Apr 2014 06:15:07 +0000 (+1000) Subject: diamond operator X-Git-Tag: archiva-2.1.0~92 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1e2bb57406f48a55f2bab3db3d62704a81827056;p=archiva.git diamond operator --- diff --git a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/DefaultMetadataResolver.java b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/DefaultMetadataResolver.java index a8d67f1ae..903aed64e 100644 --- a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/DefaultMetadataResolver.java +++ b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/DefaultMetadataResolver.java @@ -301,7 +301,7 @@ public class DefaultMetadataResolver exclusions.addAll( namespaces ); Collection storageProjects = - repositoryStorage.listProjects( repoId, namespace, new ExcludesFilter( exclusions ) ); + repositoryStorage.listProjects( repoId, namespace, new ExcludesFilter<>( exclusions ) ); if ( storageProjects != null && !storageProjects.isEmpty() ) {