Uploaded image for project: 'Commons BeanUtils'
  1. Commons BeanUtils
  2. BEANUTILS-278

Remove copied Collections classes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.7.0
    • 2.0.0
    • None
    • None

    Description

      The following 4 Commons Collections classes were copied into BeanUtils so that the dependency on Commons Collections could be removed (these were included in the BeanUtils 1.7.0 release)

      ArrayStack.java
      Buffer.java
      BufferUnderflowException.java
      FastHashMap.java

      See the following thread for the original reasoning:
      http://tinyurl.com/yvma2q
      http://tinyurl.com/2hs3hp

      Recent discussion thread on this issue is here:
      http://tinyurl.com/2vyuk8

      Of the above four classes only FastHashMap is used within BeanUtils (and is part of the public API) - not sure why the other classes were included, but it may be because downstream systems such as Struts depend on them (which also removed its Commons Collections when it moved to BeanUtils 1.7.0). Some (but not all) of the BeanUtils public API which exposes FastHashMap was deprecated in the BeanUtils 1.7.0 release.

      Attachments

        1. Beanutils-278-2.patch
          9 kB
          Niall Pemberton

        Issue Links

          Activity

            People

              Unassigned Unassigned
              niallp Niall Pemberton
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: