Code Review
/
dmaap
/
dbcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Changes for OpenJDK 11
[dmaap/dbcapi.git]
/
src
/
main
/
java
/
org
/
onap
/
dmaap
/
dbcapi
/
resources
/
FeedResource.java
diff --git
a/src/main/java/org/onap/dmaap/dbcapi/resources/FeedResource.java
b/src/main/java/org/onap/dmaap/dbcapi/resources/FeedResource.java
index
6589c0d
..
28bdb00
100644
(file)
--- a/
src/main/java/org/onap/dmaap/dbcapi/resources/FeedResource.java
+++ b/
src/main/java/org/onap/dmaap/dbcapi/resources/FeedResource.java
@@
-27,7
+27,6
@@
import io.swagger.annotations.ApiResponses;
import java.util.List;
import java.util.List;
-import javax.jws.WebParam;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.GET;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.GET;
@@
-90,7
+89,7
@@
public class FeedResource extends BaseLoggingClass {
@ApiResponse( code = 400, message = "Error", response = ApiError.class )
})
public Response addFeed(
@ApiResponse( code = 400, message = "Error", response = ApiError.class )
})
public Response addFeed(
-
@WebParam(name = "feed")
Feed feed,
+ Feed feed,
@QueryParam("useExisting") String useExisting) {
ApiError apiError = new ApiError();
@QueryParam("useExisting") String useExisting) {
ApiError apiError = new ApiError();
@@
-146,7
+145,7
@@
public class FeedResource extends BaseLoggingClass {
@Path("/{id}")
public Response updateFeed(
@PathParam("id") String id,
@Path("/{id}")
public Response updateFeed(
@PathParam("id") String id,
-
@WebParam(name = "feed")
Feed feed) {
+ Feed feed) {
FeedService feedService = new FeedService();
ApiError apiError = new ApiError();
FeedService feedService = new FeedService();
ApiError apiError = new ApiError();