Ray Milkey
Committed by Gerrit Code Review

Fix Jersey warning for redundant "@Path("/")

Change-Id: I4b1af699c90e07811e046335ff2896ec402959b6
...@@ -111,7 +111,6 @@ public class ApiDocResource extends AbstractInjectionResource { ...@@ -111,7 +111,6 @@ public class ApiDocResource extends AbstractInjectionResource {
111 * @throws URISyntaxException if unable to create redirect URI 111 * @throws URISyntaxException if unable to create redirect URI
112 */ 112 */
113 @GET 113 @GET
114 - @Path("/")
115 public Response getDefault() throws IOException, URISyntaxException { 114 public Response getDefault() throws IOException, URISyntaxException {
116 return uriInfo.getPath().endsWith("/") ? getIndex() : 115 return uriInfo.getPath().endsWith("/") ? getIndex() :
117 temporaryRedirect(new URI(uriInfo.getPath() + "/")).build(); 116 temporaryRedirect(new URI(uriInfo.getPath() + "/")).build();
......