tajo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jihoon Son (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (TAJO-1899) Calling 'Arrays.asList()' with too few arguments cause memory extravagance
Date Mon, 05 Oct 2015 13:26:27 GMT

     [ 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)

Mime
View raw message