[
https://issues.apache.org/jira/browse/LUCENE-7297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adrien Grand updated LUCENE-7297:
---------------------------------
Attachment: LUCENE-7297.patch
Here is a patch that:
- removes the shrink methods that we never use
- uses Arrays.copyOf rather than creating new arrays and calling
System.arraycopy
- removes grow(boolean[]) since we usually use bit sets rather boolean arrays
- removes an outdated comment about Class#getComponentType() and
Array.newInstance() not having intrinsics
- removes grow(int[][]) and grow(float[][]) in favor of grow(T[])
- removes hashCode(byte[]) since we now use StringHelper.murmurhash3_x86_32
> Clean up ArrayUtil
> ------------------
>
> Key: LUCENE-7297
> URL: https://issues.apache.org/jira/browse/LUCENE-7297
> Project: Lucene - Core
> Issue Type: Task
> Reporter: Adrien Grand
> Assignee: Adrien Grand
> Priority: Minor
> Attachments: LUCENE-7297.patch
>
>
> I noticed this class has some unused methods and outdated comments.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]