You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/10/05 15:18:26 UTC

[jira] [Commented] (TAJO-1899) Calling 'Arrays.asList()' with too few arguments cause memory extravagance

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

ASF GitHub Bot commented on TAJO-1899:
--------------------------------------

Github user jihoonson commented on the pull request:

    https://github.com/apache/tajo/pull/794#issuecomment-145524421
  
    +1 LGTM.


> Calling 'Arrays.asList()' with too few arguments cause memory extravagance
> --------------------------------------------------------------------------
>
>                 Key: TAJO-1899
>                 URL: https://issues.apache.org/jira/browse/TAJO-1899
>             Project: Tajo
>          Issue Type: Improvement
>            Reporter: Dongkyu Hwangbo
>            Assignee: Dongkyu Hwangbo
>            Priority: Trivial
>              Labels: newbie
>
> Reports any calls to Arrays.asList() with zero arguments or only one argument. Such calls could be replaced with either a call to Collections.singletonList() or Collections.emptyList() which will save some memory.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)