fixed checkstyle error

Original commit: elastic/x-pack-elasticsearch@7676e988a8
This commit is contained in:
uboness 2016-02-25 01:50:19 -08:00
parent 266bf09437
commit 7fbf5645e2
1 changed files with 2 additions and 1 deletions

View File

@ -169,7 +169,8 @@ public class RoleDescriptor implements ToXContent {
} else if (roleName.equals(parser.text()) == false) {
// if the given role name is not the same as the parsed role name, we have inconstency and we need to
// throw an error
throw new ElasticsearchParseException("expected role name [{}] but found [{}] instead", roleName, parser.text());
throw new ElasticsearchParseException("expected role name [{}] but found [{}] instead",
roleName, parser.text());
}
} else {
throw new ElasticsearchParseException("unexpected field in add role request [{}]", currentFieldName);