lmccay commented on code in PR #900: URL: https://github.com/apache/knox/pull/900#discussion_r1564241397
########## gateway-service-knoxtoken/src/main/java/org/apache/knox/gateway/service/knoxtoken/TokenResource.java: ########## @@ -650,14 +652,14 @@ public Response revoke(String token) { } if (error.isEmpty()) { - resp = Response.status(Response.Status.OK) - .entity("{\n \"revoked\": \"true\"\n}\n") - .build(); + resp = Response.status(Response.Status.OK) + .entity("{\n \"revoked\": \"true\"\n}\n") + .build(); } else { log.badRevocationRequest(getTopologyName(), Tokens.getTokenDisplayText(token), error); resp = Response.status(errorStatus) - .entity("{\n \"revoked\": \"false\",\n \"error\": \"" + error + "\",\n \"code\": " + errorCode.toInt() + "\n}\n") - .build(); + .entity("{\n \"revoked\": \"false\",\n \"error\": \"" + error + "\",\n \"code\": " + errorCode.toInt() + "\n}\n") Review Comment: Not sure why it was the previous indentation. I guess someone is lining up the dots? That is not a convention that is standard. That said, I don't know why this was changed at all. Likely some IDE shenanigans related to my migration to a new dev machine. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@knox.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org