Skip to content

Commit c641de1

Browse files
committed
checkstyle changes
1 parent 33b17cd commit c641de1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/privilege/ManageRolesPrivilegesTests.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ public void testParseMixedValidAndInvalidPrivileges() throws Exception {
297297
}
298298
]
299299
}
300-
}""",validPrivilege, unknownPrivilege);
300+
}""", validPrivilege, unknownPrivilege);
301301

302302
assertInvalidPrivilegeParsing(mixedPrivilegesJson, unknownPrivilege);
303303
}
@@ -312,7 +312,9 @@ public void testParseMixedValidAndInvalidPrivileges() throws Exception {
312312
private static void assertInvalidPrivilegeParsing(final String jsonPayload, final String expectedErrorDetail) throws Exception {
313313
final XContent xContent = XContentType.JSON.xContent();
314314

315-
try (XContentParser parser = xContent.createParser(XContentParserConfiguration.EMPTY, jsonPayload.getBytes(StandardCharsets.UTF_8))) {
315+
try (
316+
XContentParser parser = xContent.createParser(XContentParserConfiguration.EMPTY, jsonPayload.getBytes(StandardCharsets.UTF_8))
317+
) {
316318
assertThat(parser.nextToken(), equalTo(XContentParser.Token.START_OBJECT));
317319
assertThat(parser.nextToken(), equalTo(XContentParser.Token.FIELD_NAME));
318320

0 commit comments

Comments
 (0)