We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2087291 commit 8df906dCopy full SHA for 8df906d
libs/core/src/main/java/org/opensearch/core/common/io/stream/StreamOutput.java
@@ -1257,7 +1257,7 @@ public <E extends Enum<E>> void writeEnumSet(EnumSet<E> enumSet) throws IOExcept
1257
1258
/**
1259
* Writes an optional EnumSet with type E that by serialized it based on it's ordinal value
1260
- * For null enum set, writes false;
+ * For null or emptu enum set, writes false;
1261
*/
1262
public <E extends Enum<E>> void writeOptionalEnumSet(@Nullable EnumSet<E> enumSet) throws IOException {
1263
if (enumSet != null && enumSet.size() > 0) {
0 commit comments