You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/01/25 09:34:00 UTC

[jira] [Updated] (HDDS-7834) Remove unnecessary streams

     [ https://issues.apache.org/jira/browse/HDDS-7834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated HDDS-7834:
---------------------------------
    Labels: pull-request-available  (was: )

> Remove unnecessary streams
> --------------------------
>
>                 Key: HDDS-7834
>                 URL: https://issues.apache.org/jira/browse/HDDS-7834
>             Project: Apache Ozone
>          Issue Type: Improvement
>            Reporter: Attila Doroszlai
>            Assignee: Attila Doroszlai
>            Priority: Minor
>              Labels: pull-request-available
>
> Streams are overkill for simple list/set conversion, when no filtering/transformation is applied, e.g.:
> {code}
> list.stream().collect(toSet())
> {code}
> or
> {code}
> set.stream().collect(toList())
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org