aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-web/archiva-rest/archiva-rest-api
diff options
context:
space:
mode:
authorskygo <skygo@unknown>2013-03-14 22:12:24 +0000
committerskygo <skygo@unknown>2013-03-14 22:12:24 +0000
commit40c462af88fc5ab7e9c3f979a1944335bd931175 (patch)
tree98c674a86a59fe13050b4360f3f39d6b72c2c429 /archiva-modules/archiva-web/archiva-rest/archiva-rest-api
parent1af394618d7f66c1e6333432541e60d07ca7e233 (diff)
downloadarchiva-40c462af88fc5ab7e9c3f979a1944335bd931175.tar.gz
archiva-40c462af88fc5ab7e9c3f979a1944335bd931175.zip
fix imports and minors warning sonar.
remove a space in transactions name pom. git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1456696 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-web/archiva-rest/archiva-rest-api')
-rw-r--r--archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/ProxyConnectorRuleService.java1
-rw-r--r--archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/ReportRepositoriesService.java4
2 files changed, 2 insertions, 3 deletions
diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/ProxyConnectorRuleService.java b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/ProxyConnectorRuleService.java
index d2cacba57..206525a02 100644
--- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/ProxyConnectorRuleService.java
+++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/ProxyConnectorRuleService.java
@@ -25,7 +25,6 @@ import org.apache.archiva.security.common.ArchivaRoleConstants;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
-import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/ReportRepositoriesService.java b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/ReportRepositoriesService.java
index da23e5a86..0f3bc4000 100644
--- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/ReportRepositoriesService.java
+++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/ReportRepositoriesService.java
@@ -46,7 +46,7 @@ public interface ReportRepositoriesService
@GET
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML } )
@RedbackAuthorization( permissions = ArchivaRoleConstants.OPERATION_MANAGE_CONFIGURATION )
- public List<RepositoryStatistics> getStatisticsReport( @QueryParam( "repository" ) List<String> repositoriesId,
+ List<RepositoryStatistics> getStatisticsReport( @QueryParam( "repository" ) List<String> repositoriesId,
@QueryParam( "rowCount" ) int rowCount,
@QueryParam( "startDate" ) Date startDate,
@QueryParam( "endDate" ) Date endDate )
@@ -56,7 +56,7 @@ public interface ReportRepositoriesService
@GET
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML } )
@RedbackAuthorization( permissions = ArchivaRoleConstants.OPERATION_MANAGE_CONFIGURATION )
- public List<RepositoryProblemFacet> getHealthReport( @PathParam( "repository" ) String repository,
+ List<RepositoryProblemFacet> getHealthReport( @PathParam( "repository" ) String repository,
@QueryParam( "groupId" ) String groupId,
@PathParam( "rowCount" ) int rowCount )
throws ArchivaRestServiceException;