We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7fb5a6e commit f149cdeCopy full SHA for f149cde
1 file changed
libs/core/src/main/java/org/opensearch/core/common/io/stream/BaseWriteable.java
@@ -79,7 +79,7 @@ public static Class<?> getCustomClassFromValue(final Object value) {
79
if (value == null) {
80
throw new IllegalArgumentException("Attempting to retrieve a class type from a null value");
81
}
82
- // rip through registered classes; return the class iff 'value' is an instant
+ // rip through registered classes; return the class iff 'value' is an instance
83
// we do it this way to cover inheritance and interfaces (e.g., joda DateTime is an instanceof
84
// a ReadableInstant interface)
85
for (final Class<?> clazz : WRITER_CUSTOM_CLASS_MAP.values()) {
0 commit comments