warnings from dependency tree consumer

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755284 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Porter 2009-03-17 15:36:42 +00:00
parent 26a9c2edfc
commit 8bd81e6d6f
3 changed files with 4 additions and 8 deletions

View File

@ -159,12 +159,12 @@ public void completeScan()
{
}
public List getExcludes()
public List<String> getExcludes()
{
return null;
}
public List getIncludes()
public List<String> getIncludes()
{
return includes;
}
@ -263,9 +263,9 @@ private void flushProjectCache( MavenProjectBuilder projectBuilder )
processedProjectCacheField.setAccessible( true );
}
rawProjectCacheField.set( projectBuilder, new HashMap() );
rawProjectCacheField.set( projectBuilder, new HashMap<Object, Object>() );
processedProjectCacheField.set( projectBuilder, new HashMap() );
processedProjectCacheField.set( projectBuilder, new HashMap<Object, Object>() );
}
catch ( Exception e )
{

View File

@ -29,7 +29,6 @@
import org.apache.maven.archiva.configuration.ManagedRepositoryConfiguration;
import org.apache.maven.archiva.consumers.ConsumerException;
import org.apache.maven.archiva.consumers.KnownRepositoryContentConsumer;
import org.apache.maven.profiles.DefaultProfileManager;
import org.codehaus.plexus.spring.PlexusContainerAdapter;
import org.codehaus.plexus.spring.PlexusInSpringTestCase;
import org.custommonkey.xmlunit.XMLAssert;
@ -110,8 +109,6 @@ public void testProfiles()
PlexusContainerAdapter container = new PlexusContainerAdapter();
container.setApplicationContext( getApplicationContext() );
DefaultProfileManager m = new DefaultProfileManager( container );
consumer.beginScan( repository, null );
String path = "org/apache/maven/surefire/surefire-testng/2.0/surefire-testng-2.0.pom";

View File

@ -35,7 +35,6 @@
import org.apache.commons.collections.comparators.ReverseComparator;
import org.apache.commons.collections.functors.NotPredicate;
import org.apache.commons.collections.list.TypedList;
import org.apache.maven.archiva.common.utils.VersionComparator;
import org.apache.maven.archiva.dependency.graph.DependencyGraph;
import org.apache.maven.archiva.dependency.graph.DependencyGraphEdge;
import org.apache.maven.archiva.dependency.graph.DependencyGraphKeys;