summaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-base/archiva-repository-scanner
diff options
context:
space:
mode:
authorEric Barboni <skygo@apache.org>2014-10-10 22:41:59 +0200
committerEric Barboni <skygo@apache.org>2014-10-10 22:41:59 +0200
commitc2f9100ddaaa842f4aadd11943d27b5d1142c0e0 (patch)
tree8c94277cc1e78d51c1bcdd20d6adfd7f113564c1 /archiva-modules/archiva-base/archiva-repository-scanner
parentb0e3b2fc5aae23941e1c8fb56a12ef3bbad9f092 (diff)
downloadarchiva-c2f9100ddaaa842f4aadd11943d27b5d1142c0e0.tar.gz
archiva-c2f9100ddaaa842f4aadd11943d27b5d1142c0e0.zip
MRM-1865 remove isPermanent flag
Diffstat (limited to 'archiva-modules/archiva-base/archiva-repository-scanner')
-rw-r--r--archiva-modules/archiva-base/archiva-repository-scanner/src/main/java/org/apache/archiva/repository/scanner/RepositoryContentConsumers.java4
-rw-r--r--archiva-modules/archiva-base/archiva-repository-scanner/src/test/java/org/apache/archiva/repository/scanner/InvalidScanConsumer.java6
-rw-r--r--archiva-modules/archiva-base/archiva-repository-scanner/src/test/java/org/apache/archiva/repository/scanner/KnownScanConsumer.java6
-rw-r--r--archiva-modules/archiva-base/archiva-repository-scanner/src/test/java/org/apache/archiva/repository/scanner/SampleKnownConsumer.java6
4 files changed, 2 insertions, 20 deletions
diff --git a/archiva-modules/archiva-base/archiva-repository-scanner/src/main/java/org/apache/archiva/repository/scanner/RepositoryContentConsumers.java b/archiva-modules/archiva-base/archiva-repository-scanner/src/main/java/org/apache/archiva/repository/scanner/RepositoryContentConsumers.java
index 4c6077a69..507400eba 100644
--- a/archiva-modules/archiva-base/archiva-repository-scanner/src/main/java/org/apache/archiva/repository/scanner/RepositoryContentConsumers.java
+++ b/archiva-modules/archiva-base/archiva-repository-scanner/src/main/java/org/apache/archiva/repository/scanner/RepositoryContentConsumers.java
@@ -175,7 +175,7 @@ public class RepositoryContentConsumers
for ( KnownRepositoryContentConsumer consumer : getAvailableKnownConsumers() )
{
- if ( knownSelected.contains( consumer.getId() ) || consumer.isPermanent() )
+ if ( knownSelected.contains( consumer.getId() ) )
{
ret.add( consumer );
}
@@ -222,7 +222,7 @@ public class RepositoryContentConsumers
for ( InvalidRepositoryContentConsumer consumer : getAvailableInvalidConsumers() )
{
- if ( invalidSelected.contains( consumer.getId() ) || consumer.isPermanent() )
+ if ( invalidSelected.contains( consumer.getId() ) )
{
ret.add( consumer );
}
diff --git a/archiva-modules/archiva-base/archiva-repository-scanner/src/test/java/org/apache/archiva/repository/scanner/InvalidScanConsumer.java b/archiva-modules/archiva-base/archiva-repository-scanner/src/test/java/org/apache/archiva/repository/scanner/InvalidScanConsumer.java
index 6632c0ff6..cee2d72ec 100644
--- a/archiva-modules/archiva-base/archiva-repository-scanner/src/test/java/org/apache/archiva/repository/scanner/InvalidScanConsumer.java
+++ b/archiva-modules/archiva-base/archiva-repository-scanner/src/test/java/org/apache/archiva/repository/scanner/InvalidScanConsumer.java
@@ -118,12 +118,6 @@ public class InvalidScanConsumer
return id;
}
- @Override
- public boolean isPermanent()
- {
- return false;
- }
-
public int getProcessCount()
{
return processCount;
diff --git a/archiva-modules/archiva-base/archiva-repository-scanner/src/test/java/org/apache/archiva/repository/scanner/KnownScanConsumer.java b/archiva-modules/archiva-base/archiva-repository-scanner/src/test/java/org/apache/archiva/repository/scanner/KnownScanConsumer.java
index 77c7258ee..f494bf4ec 100644
--- a/archiva-modules/archiva-base/archiva-repository-scanner/src/test/java/org/apache/archiva/repository/scanner/KnownScanConsumer.java
+++ b/archiva-modules/archiva-base/archiva-repository-scanner/src/test/java/org/apache/archiva/repository/scanner/KnownScanConsumer.java
@@ -127,12 +127,6 @@ public class KnownScanConsumer
}
@Override
- public boolean isPermanent()
- {
- return false;
- }
-
- @Override
public boolean isProcessUnmodified()
{
return processUnmodified;
diff --git a/archiva-modules/archiva-base/archiva-repository-scanner/src/test/java/org/apache/archiva/repository/scanner/SampleKnownConsumer.java b/archiva-modules/archiva-base/archiva-repository-scanner/src/test/java/org/apache/archiva/repository/scanner/SampleKnownConsumer.java
index 17138f732..ab9a3c8df 100644
--- a/archiva-modules/archiva-base/archiva-repository-scanner/src/test/java/org/apache/archiva/repository/scanner/SampleKnownConsumer.java
+++ b/archiva-modules/archiva-base/archiva-repository-scanner/src/test/java/org/apache/archiva/repository/scanner/SampleKnownConsumer.java
@@ -105,12 +105,6 @@ public class SampleKnownConsumer
return id;
}
- @Override
- public boolean isPermanent()
- {
- return false;
- }
-
public void setId( String id )
{
this.id = id;