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

[pool] indicate that ObjectPools.addObject may throw an UnsupportedOperationException

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.2
    • 1.3
    • None
    • Operating System: All
      Platform: All

    • 38746

    Description

      I missed this change with the last set of javadocs updates. This patch adds
      UnsupportedOperationException to the addObject method in the ObjectPool and
      KeyedObjectPool interfaces. UOE is a RuntimeException and won't break API
      compatability.

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--ObjectPools-addObject-javadoc.patch
          1 kB
          Sandy McArthur (from Bugzilla import)

        Activity

          People

            Unassigned Unassigned
            sandymac@apache.org Sandy McArthur (from Bugzilla import)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: