Skip to content

Commit

Permalink
remove reundant final modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
vladak committed Feb 24, 2023
1 parent 8a8542b commit aeef436
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public static void enableProjects(final String host) throws
.headers(getWebAppHeaders());
final String enabled = request.get(String.class);
if (!Boolean.parseBoolean(enabled)) {
try (final Response r = request.put(Entity.text(Boolean.TRUE.toString()))) {
try (Response r = request.put(Entity.text(Boolean.TRUE.toString()))) {
if (r.getStatusInfo().getFamily() != Response.Status.Family.SUCCESSFUL) {
throw new WebApplicationException(String.format("Unable to enable projects: %s",
r.getStatusInfo().getReasonPhrase()), r.getStatus());
Expand Down

0 comments on commit aeef436

Please sign in to comment.