From 4ee57738e4f738cc1e5c41e7d22512bfa587efb3 Mon Sep 17 00:00:00 2001 From: Martin Stockhammer Date: Tue, 21 Apr 2020 18:22:46 +0200 Subject: [PATCH] Removing uncommented lines --- .../consumers/core/repository/DaysOldRepositoryPurge.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/archiva/consumers/core/repository/DaysOldRepositoryPurge.java b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/archiva/consumers/core/repository/DaysOldRepositoryPurge.java index bc65d9959..7e6159307 100644 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/archiva/consumers/core/repository/DaysOldRepositoryPurge.java +++ b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/archiva/consumers/core/repository/DaysOldRepositoryPurge.java @@ -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( ) ) -- 2.39.5