From 3b2eff665e3418b2e055f236ed41adb188e34f65 Mon Sep 17 00:00:00 2001 From: Jason Tedor Date: Fri, 21 Oct 2016 07:43:51 -0400 Subject: [PATCH] Fix typo in exception message in RestGetAction This commit fixes a duplicated word in an exception message in RestGetAction. --- .../org/elasticsearch/rest/action/document/RestGetAction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/elasticsearch/rest/action/document/RestGetAction.java b/core/src/main/java/org/elasticsearch/rest/action/document/RestGetAction.java index d6590b89f84..7206e6b9d5e 100644 --- a/core/src/main/java/org/elasticsearch/rest/action/document/RestGetAction.java +++ b/core/src/main/java/org/elasticsearch/rest/action/document/RestGetAction.java @@ -61,7 +61,7 @@ public class RestGetAction extends BaseRestHandler { getRequest.realtime(request.paramAsBoolean("realtime", getRequest.realtime())); if (request.param("fields") != null) { throw new IllegalArgumentException("The parameter [fields] is no longer supported, " + - "please use [stored_fields] to retrieve stored fields or or [_source] to load the field from _source"); + "please use [stored_fields] to retrieve stored fields or [_source] to load the field from _source"); } String sField = request.param("stored_fields"); if (sField != null) {