Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8158253

Collections: Implement a noop clear() for EmptyList, EmptyMap and EmptySet

XMLWordPrintable

      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.


            psandoz Paul Sandoz
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: