[
https://issues.apache.org/jira/browse/HADOOP-17726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Samrat Deb updated HADOOP-17726:
--------------------------------
Description:
As part of removing guava dependencies HADOOP-17115, HADOOP-17721,
HADOOP-17722 and HADOOP-17720 are fixed,
Currently the code call util function to create HashSet and TreeSet in the repo
. These function calls dont have much importance as it is calling internally
new HashSet<> / new TreeSet<> from java.utils
This task is to clean up all the function calls to create sets which is
redundant
was:
As per the guidelines provided by Guava Sets#newHashSet() and
Sets#newTreeSet(), we should get rid of them and use newHashSet<>() and
newTreeSet<>() directly.
Once HADOOP-17115, HADOOP-17721, HADOOP-17722 and HADOOP-17720 are fixed,
please feel free to take this up.
> Replace Sets#newHashSet() and newTreeSet() with constructors directly
> ---------------------------------------------------------------------
>
> Key: HADOOP-17726
> URL: https://issues.apache.org/jira/browse/HADOOP-17726
> Project: Hadoop Common
> Issue Type: Improvement
> Affects Versions: 3.3.4
> Reporter: Viraj Jasani
> Assignee: Samrat Deb
> Priority: Trivial
> Labels: beginner, beginner-friendly, newbie
>
>
> As part of removing guava dependencies HADOOP-17115, HADOOP-17721,
> HADOOP-17722 and HADOOP-17720 are fixed,
> Currently the code call util function to create HashSet and TreeSet in the
> repo . These function calls dont have much importance as it is calling
> internally new HashSet<> / new TreeSet<> from java.utils
> This task is to clean up all the function calls to create sets which is
> redundant
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]