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

[jira] [Resolved] (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:all-tabpanel ]

Jihoon Son resolved TAJO-1899.
------------------------------
       Resolution: Fixed
    Fix Version/s: 0.12.0

Committed to master.

> 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
>             Fix For: 0.12.0
>
>
> 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)