mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-26 06:46:10 +00:00
Fix typo in ScriptDocValues deprecation warnings (#25672)
This commit is contained in:
parent
55a157e964
commit
8d7cbc43b5
@ -204,7 +204,7 @@ public abstract class ScriptDocValues<T> extends AbstractList<T> {
|
||||
*/
|
||||
@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<T> extends AbstractList<T> {
|
||||
*/
|
||||
@Deprecated
|
||||
public List<ReadableDateTime> 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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user