You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "nabarun (Jira)" <ji...@apache.org> on 2019/09/17 18:51:00 UTC
[jira] [Created] (GEODE-7213) Zero-sized array is recommended in
modern JDK
nabarun created GEODE-7213:
------------------------------
Summary: Zero-sized array is recommended in modern JDK
Key: GEODE-7213
URL: https://issues.apache.org/jira/browse/GEODE-7213
Project: Geode
Issue Type: Bug
Reporter: nabarun
pre-defined array size for allocation was a requirement in pre-JDK6 era.
{{toArray(new T[0])}} seems faster, safer, and contractually cleaner, and therefore should be the default choice now.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)