[
https://issues.apache.org/jira/browse/HDFS-17461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17836136#comment-17836136
]
ASF GitHub Bot commented on HDFS-17461:
---------------------------------------
haiyang1987 opened a new pull request, #6721:
URL: https://github.com/apache/hadoop/pull/6721
### Description of PR
https://issues.apache.org/jira/browse/HDFS-17461
Fix spotbugs in PeerCache#getInternal
Spotbugs warnings:
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6710/4/artifact/out/branch-spotbugs-hadoop-hdfs-project_hadoop-hdfs-client-warnings.html
` private final LinkedListMultimap<Key, Value> multimap =
LinkedListMultimap.create();`
Returns a collection view containing the values associated with key in this
multimap, if any. Note that even when (containsKey(key) is false, get(key)
still returns an empty collection, not null.
> Fix spotbugs in PeerCache#getInternal
> -------------------------------------
>
> Key: HDFS-17461
> URL: https://issues.apache.org/jira/browse/HDFS-17461
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Haiyang Hu
> Assignee: Haiyang Hu
> Priority: Major
>
> Fix spotbugs in PeerCache#getInternal
> Spotbugs warnings:
> https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6710/4/artifact/out/branch-spotbugs-hadoop-hdfs-project_hadoop-hdfs-client-warnings.html
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]