aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules
diff options
context:
space:
mode:
authorMartin Stockhammer <martin_s@apache.org>2020-04-21 18:22:46 +0200
committerMartin Stockhammer <martin_s@apache.org>2020-04-21 18:22:46 +0200
commit4ee57738e4f738cc1e5c41e7d22512bfa587efb3 (patch)
tree28c18c4c7639ae74632e9fe59b4762675289f5aa /archiva-modules
parentf0757c35dec03eff60224a92d00597b866510047 (diff)
downloadarchiva-4ee57738e4f738cc1e5c41e7d22512bfa587efb3.tar.gz
archiva-4ee57738e4f738cc1e5c41e7d22512bfa587efb3.zip
Removing uncommented lines
Diffstat (limited to 'archiva-modules')
-rw-r--r--archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/archiva/consumers/core/repository/DaysOldRepositoryPurge.java5
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( ) )