commit | cc44cb481ba1d1394c73710dabbcda4000182aa2 | [log] [tgz] |
---|---|---|
author | Ray Milkey <ray@onlab.us> | Fri Sep 09 10:04:45 2016 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Mon Sep 12 17:44:21 2016 +0000 |
tree | 816e82c751902d261f36f69537be11c308a9999f | |
parent | dbaed99b195264efb9030293c4ec2456c2f9b062 [diff] |
Fix Jersey warning for redundant "@Path("/") Change-Id: I4b1af699c90e07811e046335ff2896ec402959b6
diff --git a/web/api/src/main/java/org/onosproject/rest/resources/ApiDocResource.java b/web/api/src/main/java/org/onosproject/rest/resources/ApiDocResource.java index 251d107..69e5aad 100644 --- a/web/api/src/main/java/org/onosproject/rest/resources/ApiDocResource.java +++ b/web/api/src/main/java/org/onosproject/rest/resources/ApiDocResource.java
@@ -111,7 +111,6 @@ * @throws URISyntaxException if unable to create redirect URI */ @GET - @Path("/") public Response getDefault() throws IOException, URISyntaxException { return uriInfo.getPath().endsWith("/") ? getIndex() : temporaryRedirect(new URI(uriInfo.getPath() + "/")).build();