fix the webapp tests to work with the latest consumers change

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@589567 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Porter 2007-10-29 10:05:50 +00:00
parent b2c335626a
commit 14b91e96be
1 changed files with 13 additions and 0 deletions

View File

@ -1,8 +1,21 @@
package org.apache.maven.archiva.web.repository;
import org.apache.maven.archiva.consumers.InvalidRepositoryContentConsumer;
import org.apache.maven.archiva.consumers.KnownRepositoryContentConsumer;
import org.apache.maven.archiva.repository.scanner.RepositoryContentConsumers;
import java.util.List;
public class StubRepositoryContentConsumers
extends RepositoryContentConsumers
{
public List<KnownRepositoryContentConsumer> getSelectedKnownConsumers()
{
return getAvailableKnownConsumers();
}
public synchronized List<InvalidRepositoryContentConsumer> getSelectedInvalidConsumers()
{
return getAvailableInvalidConsumers();
}
}