diff options
-rw-r--r-- | archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/archiva/consumers/core/repository/DaysOldRepositoryPurge.java | 5 |
1 files changed, 0 insertions, 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( ) ) |