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

Remove copied Collections classes

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            niallp Niall Pemberton

            Dates

              Created:
              Updated:

              Slack

                Issue deployment