From 7fbf5645e21d284ec81d7207d4c4f3a544a7181a Mon Sep 17 00:00:00 2001 From: uboness Date: Thu, 25 Feb 2016 01:50:19 -0800 Subject: [PATCH] fixed checkstyle error Original commit: elastic/x-pack-elasticsearch@7676e988a88f8efdc043b46dda5f78e3668c54c4 --- .../java/org/elasticsearch/shield/authz/RoleDescriptor.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/elasticsearch/x-pack/shield/src/main/java/org/elasticsearch/shield/authz/RoleDescriptor.java b/elasticsearch/x-pack/shield/src/main/java/org/elasticsearch/shield/authz/RoleDescriptor.java index 718c3819bc7..69bf2df6614 100644 --- a/elasticsearch/x-pack/shield/src/main/java/org/elasticsearch/shield/authz/RoleDescriptor.java +++ b/elasticsearch/x-pack/shield/src/main/java/org/elasticsearch/shield/authz/RoleDescriptor.java @@ -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);