Uploaded image for project: 'Commons Collections'
  1. Commons Collections
  2. COLLECTIONS-523

Removing unnecessary method

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.1
    • Component/s: Map
    • Labels:
      None

      Description

      I suggest remmove unnecessary method private V put(final K key, final V value, final long now) from the class PassiveExpiringMap once the final long now parameter was never used. I've addapted the code to work properly.

      The param was confusing the logic of this method.

      Placeholder ticket for github PR 2: https://github.com/apache/commons-collections/pull/2

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              thiagoh1 Thiago Andrade
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: