diff options
author | olivier lamy <olamy@apache.org> | 2017-06-24 09:06:22 +1000 |
---|---|---|
committer | olivier lamy <olamy@apache.org> | 2017-06-24 09:06:22 +1000 |
commit | ddbb6cdaf499915affabe440ab4c0da1fc482202 (patch) | |
tree | 770cd5f2abdd8acdedfa58bcb95f1dadebc083f6 /archiva-modules/metadata | |
parent | f0ba11a2f8f3505dc5550d213c63270b25e29d94 (diff) | |
download | archiva-ddbb6cdaf499915affabe440ab4c0da1fc482202.tar.gz archiva-ddbb6cdaf499915affabe440ab4c0da1fc482202.zip |
cosmetic change :-)
Signed-off-by: olivier lamy <olamy@apache.org>
Diffstat (limited to 'archiva-modules/metadata')
-rw-r--r-- | archiva-modules/metadata/metadata-repository-api/src/test/java/org/apache/archiva/metadata/repository/AbstractMetadataRepositoryTest.java | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/archiva-modules/metadata/metadata-repository-api/src/test/java/org/apache/archiva/metadata/repository/AbstractMetadataRepositoryTest.java b/archiva-modules/metadata/metadata-repository-api/src/test/java/org/apache/archiva/metadata/repository/AbstractMetadataRepositoryTest.java index 75c961fbc..4700d5af0 100644 --- a/archiva-modules/metadata/metadata-repository-api/src/test/java/org/apache/archiva/metadata/repository/AbstractMetadataRepositoryTest.java +++ b/archiva-modules/metadata/metadata-repository-api/src/test/java/org/apache/archiva/metadata/repository/AbstractMetadataRepositoryTest.java @@ -827,14 +827,7 @@ public abstract class AbstractMetadataRepositoryTest Collection<ArtifactMetadata> artifacts = repository.getArtifacts( TEST_REPO_ID, TEST_NAMESPACE, TEST_PROJECT, TEST_PROJECT_VERSION ); ArrayList<ArtifactMetadata> actual = new ArrayList<>( artifacts ); - Collections.sort( actual, new Comparator<ArtifactMetadata>() - { - @Override - public int compare( ArtifactMetadata o1, ArtifactMetadata o2 ) - { - return o1.getId().compareTo( o2.getId() ); - } - } ); + Collections.sort( actual,( o1, o2 ) -> o1.getId().compareTo( o2.getId() ) ); assertEquals( Arrays.asList( artifact1, artifact2 ), actual ); } |