You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2023/01/24 16:29:00 UTC
[jira] [Created] (HDDS-7834) Remove unnecessary streams
Attila Doroszlai created HDDS-7834:
--------------------------------------
Summary: 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
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