]> source.dussan.org Git - archiva.git/commitdiff
Removing uncommented lines
authorMartin Stockhammer <martin_s@apache.org>
Tue, 21 Apr 2020 16:22:46 +0000 (18:22 +0200)
committerMartin Stockhammer <martin_s@apache.org>
Tue, 21 Apr 2020 16:22:46 +0000 (18:22 +0200)
archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/archiva/consumers/core/repository/DaysOldRepositoryPurge.java

index bc65d9959e69a99c4a3df9c136dac89d7155ae3d..7e61593072303af29d2f286e61d299fa52e06a2e 100644 (file)
@@ -91,11 +91,6 @@ public class DaysOldRepositoryPurge
                 Calendar olderThanThisDate = Calendar.getInstance( TimeZone.getTimeZone( "UTC" ) );
                 olderThanThisDate.add( Calendar.DATE, -retentionPeriod );
 
-                // respect retention count
-                // VersionedReference reference = new VersionedReference( );
-                // reference.setGroupId( artifact.getGroupId( ) );
-                // reference.setArtifactId( artifact.getArtifactId( ) );
-                // reference.setVersion( artifact.getVersion( ) );
                 ArchivaItemSelector selector = ArchivaItemSelector.builder( )
                     .withNamespace( artifactItem.getVersion( ).getProject( ).getNamespace( ).getNamespace( ) )
                     .withProjectId( artifactItem.getVersion( ).getProject( ).getId( ) )