diff options
author | Martin Stockhammer <martin.stockhammer@ars.de> | 2017-09-11 08:48:01 +0200 |
---|---|---|
committer | Martin Stockhammer <martin.stockhammer@ars.de> | 2017-09-11 08:48:01 +0200 |
commit | a6706c8414c4807794ee94ab7cf19530b7b41460 (patch) | |
tree | 4fc2e9ed8016990be98560e60ae2441f42442288 /archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main | |
parent | abba44b0a838d17acfa76be3535acc9c0107cd96 (diff) | |
download | archiva-a6706c8414c4807794ee94ab7cf19530b7b41460.tar.gz archiva-a6706c8414c4807794ee94ab7cf19530b7b41460.zip |
Migrating web modules to java.nio
Diffstat (limited to 'archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main')
2 files changed, 3 insertions, 19 deletions
diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/BrowseService.java b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/BrowseService.java index cdb99eb38..c672607d7 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/BrowseService.java +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/BrowseService.java @@ -23,21 +23,9 @@ import org.apache.archiva.maven2.model.Artifact; import org.apache.archiva.maven2.model.TreeEntry; import org.apache.archiva.metadata.model.ProjectVersionMetadata; import org.apache.archiva.redback.authorization.RedbackAuthorization; -import org.apache.archiva.rest.api.model.ArtifactContent; -import org.apache.archiva.rest.api.model.ArtifactContentEntry; -import org.apache.archiva.rest.api.model.BrowseResult; -import org.apache.archiva.rest.api.model.Entry; -import org.apache.archiva.rest.api.model.MetadataAddRequest; -import org.apache.archiva.rest.api.model.VersionsList; +import org.apache.archiva.rest.api.model.*; -import javax.ws.rs.DELETE; -import javax.ws.rs.GET; -import javax.ws.rs.POST; -import javax.ws.rs.PUT; -import javax.ws.rs.Path; -import javax.ws.rs.PathParam; -import javax.ws.rs.Produces; -import javax.ws.rs.QueryParam; +import javax.ws.rs.*; import javax.ws.rs.core.MediaType; import java.util.List; diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/SearchService.java b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/SearchService.java index 1b3fa08b5..f75c69e2c 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/SearchService.java +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/SearchService.java @@ -27,11 +27,7 @@ import org.apache.archiva.rest.api.model.GroupIdList; import org.apache.archiva.rest.api.model.SearchRequest; import org.apache.archiva.rest.api.model.StringList; -import javax.ws.rs.GET; -import javax.ws.rs.POST; -import javax.ws.rs.Path; -import javax.ws.rs.Produces; -import javax.ws.rs.QueryParam; +import javax.ws.rs.*; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import java.util.List; |