-
Type:
Enhancement
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 9
-
Component/s: core-libs
-
b124
-
x86
-
linux
A DESCRIPTION OF THE REQUEST :
Collections: Implement a noop clear() for EmptyList, EmptyMap and EmptySet
JUSTIFICATION :
clear() for the Collections#Empty* classes are currently redirected to their Abstract* superclasses which perform some work. This is unnecessary here and can be avoided by implementing a noop clear() for these classes.
Collections: Implement a noop clear() for EmptyList, EmptyMap and EmptySet
JUSTIFICATION :
clear() for the Collections#Empty* classes are currently redirected to their Abstract* superclasses which perform some work. This is unnecessary here and can be avoided by implementing a noop clear() for these classes.