mirror of https://github.com/apache/archiva.git
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:
parent
cba6c66858
commit
6952e5a90e
|
@ -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"
|
||||
*/
|
||||
|
|
|
@ -44,6 +44,7 @@ public class RssFeedGeneratorTest
|
|||
generator = (RssFeedGenerator) lookup( RssFeedGenerator.class );
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public void testNewFeed()
|
||||
throws Exception
|
||||
{
|
||||
|
|
|
@ -63,6 +63,7 @@ public class NewArtifactsRssFeedProcessorTest
|
|||
newArtifactsProcessor.setArtifactDAO( artifactDAOStub );
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public void testProcess()
|
||||
throws Exception
|
||||
{
|
||||
|
|
|
@ -60,6 +60,7 @@ public class NewVersionsOfArtifactRssFeedProcessorTest
|
|||
newVersionsProcessor.setArtifactDAO( artifactDAOStub );
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public void testProcess()
|
||||
throws Exception
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue