sunjincheng created IOTDB-1257: ---------------------------------- Summary: Fix reset logic error for function call of resizeIfNecessary Key: IOTDB-1257 URL: https://issues.apache.org/jira/browse/IOTDB-1257 Project: Apache IoTDB Issue Type: Improvement Components: Core/Cluster Reporter: sunjincheng Assignee: sunjincheng
Fix reset logic error for function call of resizeIfNecessary ,and we do not need call the resizeIfNecessary() before fill() as fill already did the resize logic. {code} if (size < softMaxLength) { readBuffer.resizeIfNecessary(softMaxLength); } readBuffer.fill(underlying, size); {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)