[ 
https://issues.apache.org/jira/browse/PARQUET-1732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17008386#comment-17008386
 ] 

ASF GitHub Bot commented on PARQUET-1732:
-----------------------------------------

Fokko commented on pull request #720: PARQUET-1732: Call toArray With Empty 
Array
URL: https://github.com/apache/parquet-mr/pull/720
 
 
   
 
----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Call toArray With Empty Array
> -----------------------------
>
>                 Key: PARQUET-1732
>                 URL: https://issues.apache.org/jira/browse/PARQUET-1732
>             Project: Parquet
>          Issue Type: Improvement
>            Reporter: David Mollitor
>            Assignee: David Mollitor
>            Priority: Minor
>              Labels: pull-request-available
>
> [https://stackoverflow.com/questions/9572795/convert-list-to-array-in-java]
>  
> {quote}It is recommended now to use list.toArray(new Foo[0]);, not 
> list.toArray(new Foo[list.size()]);.
> {quote}
> ... less code too :)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to