JDK-7129181 : (coll) Remove Collections.emptySortedSet()
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:collections
  • Affected Version: 8
  • Priority: P2
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic
  • CPU: generic
  • Submitted: 2012-01-11
  • Updated: 2017-05-19
  • Resolved: 2013-07-18
Related Reports
Blocks :  
Relates :  
Description
Fix for #4533691 added Collections.emptySortedSet.  However, navigable sets are preferred over sorted sets.  As such, emptySortedSet is unnecessary and should be removed.

Comments
Decision was to support both emptySortedSet and emptyNavigableSet
18-07-2013

Replacement implementation
18-03-2013

EVALUATION Collections.emptySortedSet should be removed.
11-01-2012