aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-web/archiva-rss
diff options
context:
space:
mode:
authorBrett Porter <brett@apache.org>2009-12-16 02:25:42 +0000
committerBrett Porter <brett@apache.org>2009-12-16 02:25:42 +0000
commit0960c24cfbf3c11faa4871b1029308e78d8caa7c (patch)
treec409cc04f8b2f603333c8e0cf32cd31e14be9622 /archiva-modules/archiva-web/archiva-rss
parent2a5c2bb81a01346573cf298e9b285747cf9a31ca (diff)
downloadarchiva-0960c24cfbf3c11faa4871b1029308e78d8caa7c.tar.gz
archiva-0960c24cfbf3c11faa4871b1029308e78d8caa7c.zip
[MRM-1301] add back summary statistics for various counts
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@891102 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-web/archiva-rss')
-rw-r--r--archiva-modules/archiva-web/archiva-rss/src/main/java/org/apache/archiva/rss/processor/NewVersionsOfArtifactRssFeedProcessor.java3
-rw-r--r--archiva-modules/archiva-web/archiva-rss/src/main/java/org/apache/archiva/rss/processor/RssFeedProcessor.java4
2 files changed, 1 insertions, 6 deletions
diff --git a/archiva-modules/archiva-web/archiva-rss/src/main/java/org/apache/archiva/rss/processor/NewVersionsOfArtifactRssFeedProcessor.java b/archiva-modules/archiva-web/archiva-rss/src/main/java/org/apache/archiva/rss/processor/NewVersionsOfArtifactRssFeedProcessor.java
index a1a80ed54..53cf9f4cf 100644
--- a/archiva-modules/archiva-web/archiva-rss/src/main/java/org/apache/archiva/rss/processor/NewVersionsOfArtifactRssFeedProcessor.java
+++ b/archiva-modules/archiva-web/archiva-rss/src/main/java/org/apache/archiva/rss/processor/NewVersionsOfArtifactRssFeedProcessor.java
@@ -27,7 +27,6 @@ import java.util.Map;
import com.sun.syndication.feed.synd.SyndFeed;
import org.apache.archiva.metadata.model.ArtifactMetadata;
-import org.apache.archiva.metadata.repository.MetadataResolverException;
import org.apache.archiva.rss.RssFeedEntry;
import org.apache.archiva.rss.RssFeedGenerator;
@@ -54,7 +53,6 @@ public class NewVersionsOfArtifactRssFeedProcessor
* Process all versions of the artifact which had a rss feed request.
*/
public SyndFeed process( Map<String, String> reqParams )
- throws MetadataResolverException
{
String groupId = reqParams.get( RssFeedProcessor.KEY_GROUP_ID );
String artifactId = reqParams.get( RssFeedProcessor.KEY_ARTIFACT_ID );
@@ -68,7 +66,6 @@ public class NewVersionsOfArtifactRssFeedProcessor
}
private SyndFeed processNewVersionsOfArtifact( String groupId, String artifactId )
- throws MetadataResolverException
{
List<ArtifactMetadata> artifacts = new ArrayList<ArtifactMetadata>();
for ( String repoId : metadataRepository.getRepositories() )
diff --git a/archiva-modules/archiva-web/archiva-rss/src/main/java/org/apache/archiva/rss/processor/RssFeedProcessor.java b/archiva-modules/archiva-web/archiva-rss/src/main/java/org/apache/archiva/rss/processor/RssFeedProcessor.java
index 7d4723e31..face4bd57 100644
--- a/archiva-modules/archiva-web/archiva-rss/src/main/java/org/apache/archiva/rss/processor/RssFeedProcessor.java
+++ b/archiva-modules/archiva-web/archiva-rss/src/main/java/org/apache/archiva/rss/processor/RssFeedProcessor.java
@@ -22,7 +22,6 @@ package org.apache.archiva.rss.processor;
import java.util.Map;
import com.sun.syndication.feed.synd.SyndFeed;
-import org.apache.archiva.metadata.repository.MetadataResolverException;
/**
* Retrieve and process the data that will be fed into the RssFeedGenerator.
@@ -35,6 +34,5 @@ public interface RssFeedProcessor
public static final String KEY_ARTIFACT_ID = "artifactId";
- SyndFeed process( Map<String, String> reqParams )
- throws MetadataResolverException;
+ SyndFeed process( Map<String, String> reqParams );
}