Uploaded image for project: 'Commons Pool'
  1. Commons Pool
  2. POOL-226

GenericKeyedObjectPool.ObjectTimestampPair fields could be made final without breaking compat?

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.6.1
    • None

    Description

      The package protected static class GenericKeyedObjectPool.ObjectTimestampPair contains two fields which are currently deprecated, pending making them final and private.

      Since the fields are package protected, surely they should only be used by Commons Pool code? Does it make sense that any external code would use the fields?
      Indeed can they be used?

      If the fields cannot legitimately be used by 3rd party code, then surely there's no need to wait for a major release to change them?

      Attachments

        Activity

          People

            Unassigned Unassigned
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: