From 8d7cbc43b5481a6d2832123d8a687be5dd37a6cb Mon Sep 17 00:00:00 2001 From: Antonio Matarrese Date: Wed, 12 Jul 2017 15:17:55 +0100 Subject: [PATCH] Fix typo in ScriptDocValues deprecation warnings (#25672) --- .../org/elasticsearch/index/fielddata/ScriptDocValues.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/org/elasticsearch/index/fielddata/ScriptDocValues.java b/core/src/main/java/org/elasticsearch/index/fielddata/ScriptDocValues.java index 803356b8f1e..21894c36809 100644 --- a/core/src/main/java/org/elasticsearch/index/fielddata/ScriptDocValues.java +++ b/core/src/main/java/org/elasticsearch/index/fielddata/ScriptDocValues.java @@ -204,7 +204,7 @@ public abstract class ScriptDocValues extends AbstractList { */ @Deprecated public ReadableDateTime getDate() { - deprecationLogger.deprecated("getDate is no longer necisary on date fields as the value is now a date."); + deprecationLogger.deprecated("getDate is no longer necessary on date fields as the value is now a date."); return getValue(); } @@ -213,7 +213,7 @@ public abstract class ScriptDocValues extends AbstractList { */ @Deprecated public List getDates() { - deprecationLogger.deprecated("getDates is no longer necisary on date fields as the values are now dates."); + deprecationLogger.deprecated("getDates is no longer necessary on date fields as the values are now dates."); return this; }