mirror of
https://github.com/apache/archiva.git
synced 2025-02-07 10:39:02 +00:00
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.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 void setUp()
|
||||
generator = (RssFeedGenerator) lookup( RssFeedGenerator.class );
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public void testNewFeed()
|
||||
throws Exception
|
||||
{
|
||||
|
@ -63,6 +63,7 @@ public void setUp()
|
||||
newArtifactsProcessor.setArtifactDAO( artifactDAOStub );
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public void testProcess()
|
||||
throws Exception
|
||||
{
|
||||
|
@ -60,6 +60,7 @@ public void setUp()
|
||||
newVersionsProcessor.setArtifactDAO( artifactDAOStub );
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public void testProcess()
|
||||
throws Exception
|
||||
{
|
||||
|
@ -59,7 +59,7 @@ public ArchivaArtifact getArtifact( String groupId, String artifactId, String ve
|
||||
return null;
|
||||
}
|
||||
|
||||
public List queryArtifacts( Constraint constraint )
|
||||
public List<ArchivaArtifact> queryArtifacts( Constraint constraint )
|
||||
throws ObjectNotFoundException, ArchivaDatabaseException
|
||||
{
|
||||
return artifacts;
|
||||
|
Loading…
x
Reference in New Issue
Block a user