deshanxiao commented on code in PR #1278:
URL: https://github.com/apache/orc/pull/1278#discussion_r997673694
##########
java/core/src/java/org/apache/orc/impl/DynamicByteArray.java:
##########
@@ -190,9 +166,7 @@ public int size() {
*/
public void clear() {
length = 0;
- for(int i=0; i < data.length; ++i) {
- data[i] = null;
- }
+ Arrays.fill(data, null);
Review Comment:
Yes, it is equivalent to the previous one.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]