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

Removing unnecessary method

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.0
    • 4.1
    • Map
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: