You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/05/22 04:38:00 UTC
[jira] [Work logged] (CURATOR-516) Remove Deprecated newSetFromMap
[ https://issues.apache.org/jira/browse/CURATOR-516?focusedWorklogId=773172&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-773172 ]
ASF GitHub Bot logged work on CURATOR-516:
------------------------------------------
Author: ASF GitHub Bot
Created on: 22/May/22 04:37
Start Date: 22/May/22 04:37
Worklog Time Spent: 10m
Work Description: tisonkun commented on PR #309:
URL: https://github.com/apache/curator/pull/309#issuecomment-1133816804
@Randgalt Guava's `Sets.newSetFromMap` is a wrapper of `Collections.newSetFromMap` and there is a deprecation comments: `Use {@link Collections#newSetFromMap} instead.`
However, this change is not quite necessary as we can always handle it when a version bump of Guava cause this method removed or we'd like to (it's less possible, although) remove dependency of Guava.
Issue Time Tracking
-------------------
Worklog Id: (was: 773172)
Time Spent: 40m (was: 0.5h)
> Remove Deprecated newSetFromMap
> -------------------------------
>
> Key: CURATOR-516
> URL: https://issues.apache.org/jira/browse/CURATOR-516
> Project: Apache Curator
> Issue Type: Improvement
> Reporter: David Mollitor
> Assignee: Jordan Zimmerman
> Priority: Minor
> Time Spent: 40m
> Remaining Estimate: 0h
>
> [https://google.github.io/guava/releases/21.0/api/docs/com/google/common/collect/Sets.html#newSetFromMap-java.util.Map-]
>
> bq. Deprecated. Use Collections.newSetFromMap(java.util.Map<E, java.lang.Boolean>) instead. This method will be removed in December 2017.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)