warnings in RSS

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755297 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Porter 2009-03-17 16:14:27 +00:00
parent cba6c66858
commit 6952e5a90e
5 changed files with 4 additions and 5 deletions

View File

@ -29,8 +29,6 @@ import org.apache.maven.archiva.database.ArtifactDAO;
import org.apache.maven.archiva.database.Constraint;
import org.apache.maven.archiva.database.constraints.ArtifactVersionsConstraint;
import org.apache.maven.archiva.model.ArchivaArtifact;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.sun.syndication.feed.synd.SyndFeed;
@ -54,8 +52,6 @@ public class NewVersionsOfArtifactRssFeedProcessor
*/
private RssFeedGenerator generator;
private Logger log = LoggerFactory.getLogger( NewVersionsOfArtifactRssFeedProcessor.class );
/**
* @plexus.requirement role-hint="jdo"
*/

View File

@ -44,6 +44,7 @@ public class RssFeedGeneratorTest
generator = (RssFeedGenerator) lookup( RssFeedGenerator.class );
}
@SuppressWarnings("unchecked")
public void testNewFeed()
throws Exception
{

View File

@ -63,6 +63,7 @@ public class NewArtifactsRssFeedProcessorTest
newArtifactsProcessor.setArtifactDAO( artifactDAOStub );
}
@SuppressWarnings("unchecked")
public void testProcess()
throws Exception
{

View File

@ -60,6 +60,7 @@ public class NewVersionsOfArtifactRssFeedProcessorTest
newVersionsProcessor.setArtifactDAO( artifactDAOStub );
}
@SuppressWarnings("unchecked")
public void testProcess()
throws Exception
{

View File

@ -59,7 +59,7 @@ public class ArtifactDAOStub
return null;
}
public List queryArtifacts( Constraint constraint )
public List<ArchivaArtifact> queryArtifacts( Constraint constraint )
throws ObjectNotFoundException, ArchivaDatabaseException
{
return artifacts;