Tsz-wo Sze created RATIS-1647:
---------------------------------
Summary: Change DataStreamRequestByteBuffer.options to a List
Key: RATIS-1647
URL: https://issues.apache.org/jira/browse/RATIS-1647
Project: Ratis
Issue Type: Sub-task
Components: Streaming
Reporter: Tsz-wo Sze
{code}
// DataStreamRequestByteBuffer
private WriteOption[] options;
{code}
The options field currently is an array so that it causes
[EI_EXPOSE_REP|https://spotbugs.readthedocs.io/en/stable/bugDescriptions.html#ei-may-expose-internal-representation-by-returning-reference-to-mutable-object-ei-expose-rep].
--
This message was sent by Atlassian Jira
(v8.20.10#820010)