Skip to content

Commit 8df906d

Browse files
committed
Update javadoc
Signed-off-by: Andy Qin <[email protected]>
1 parent 2087291 commit 8df906d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/core/src/main/java/org/opensearch/core/common/io/stream/StreamOutput.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1257,7 +1257,7 @@ public <E extends Enum<E>> void writeEnumSet(EnumSet<E> enumSet) throws IOExcept
12571257

12581258
/**
12591259
* Writes an optional EnumSet with type E that by serialized it based on it's ordinal value
1260-
* For null enum set, writes false;
1260+
* For null or emptu enum set, writes false;
12611261
*/
12621262
public <E extends Enum<E>> void writeOptionalEnumSet(@Nullable EnumSet<E> enumSet) throws IOException {
12631263
if (enumSet != null && enumSet.size() > 0) {

0 commit comments

Comments
 (0)