Committed by
Gerrit Code Review
Fix Jersey warning for redundant "@Path("/")
Change-Id: I4b1af699c90e07811e046335ff2896ec402959b6
Showing
1 changed file
with
0 additions
and
1 deletions
| ... | @@ -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(); | ... | ... |
-
Please register or login to post a comment