Skip to content

Commit 309fca4

Browse files
committed
Fix indentation on RVQA#handleException
This commit fixes some obnoxious indentation on the method parameters for RestValidateQueryAction#handleException.
1 parent 0d39625 commit 309fca4

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

core/src/main/java/org/elasticsearch/rest/action/admin/indices/RestValidateQueryAction.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,8 @@ public RestResponse buildResponse(ValidateQueryResponse response, XContentBuilde
125125
};
126126
}
127127

128-
private void handleException(
129-
final ValidateQueryRequest validateQueryRequest,
130-
final String message,
131-
final RestChannel channel) throws IOException {
132-
channel.sendResponse(buildErrorResponse(channel.newBuilder(), message, validateQueryRequest.explain()));
128+
private void handleException(final ValidateQueryRequest request, final String message, final RestChannel channel) throws IOException {
129+
channel.sendResponse(buildErrorResponse(channel.newBuilder(), message, request.explain()));
133130
}
134131

135132
private static BytesRestResponse buildErrorResponse(XContentBuilder builder, String error, boolean explain) throws IOException {

0 commit comments

Comments
 (0)