diff options
author | Brett Porter <brett@apache.org> | 2009-03-17 15:45:22 +0000 |
---|---|---|
committer | Brett Porter <brett@apache.org> | 2009-03-17 15:45:22 +0000 |
commit | 969828589ebe916effe6b61ad16b34b799c640ec (patch) | |
tree | 941c4635755d3f16259e9e7420c6d55c74d6620f /archiva-modules/archiva-reporting | |
parent | 8bd81e6d6f21612cbf8c2ba0317cf5e155171575 (diff) | |
download | archiva-969828589ebe916effe6b61ad16b34b799c640ec.tar.gz archiva-969828589ebe916effe6b61ad16b34b799c640ec.zip |
clean up warnings
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755286 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-reporting')
-rw-r--r-- | archiva-modules/archiva-reporting/archiva-metadata-reports/src/main/java/org/apache/maven/archiva/reporting/metadata/MetadataReport.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/archiva-modules/archiva-reporting/archiva-metadata-reports/src/main/java/org/apache/maven/archiva/reporting/metadata/MetadataReport.java b/archiva-modules/archiva-reporting/archiva-metadata-reports/src/main/java/org/apache/maven/archiva/reporting/metadata/MetadataReport.java index 0c4a863a2..f651acad6 100644 --- a/archiva-modules/archiva-reporting/archiva-metadata-reports/src/main/java/org/apache/maven/archiva/reporting/metadata/MetadataReport.java +++ b/archiva-modules/archiva-reporting/archiva-metadata-reports/src/main/java/org/apache/maven/archiva/reporting/metadata/MetadataReport.java @@ -24,6 +24,7 @@ import org.apache.maven.archiva.database.ArchivaDatabaseException; import org.apache.maven.archiva.database.Constraint; import org.apache.maven.archiva.database.ObjectNotFoundException; import org.apache.maven.archiva.database.constraints.RepositoryProblemByTypeConstraint; +import org.apache.maven.archiva.model.RepositoryProblem; import org.apache.maven.archiva.reporting.DataLimits; import org.apache.maven.archiva.reporting.DynamicReportSource; @@ -59,13 +60,13 @@ public class MetadataReport constraint = new RepositoryProblemByTypeConstraint( PROBLEM_TYPE_METADATA ); } - public List getData() + public List<RepositoryProblem> getData() throws ObjectNotFoundException, ArchivaDatabaseException { return dao.getRepositoryProblemDAO().queryRepositoryProblems( constraint ); } - public List getData( DataLimits limits ) + public List<RepositoryProblem> getData( DataLimits limits ) throws ObjectNotFoundException, ArchivaDatabaseException { // TODO: implement limits. |