Commons Lang
  1. Commons Lang
  2. LANG-256

[lang] add remove methods to ArrayUtils

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1
    • Component/s: None
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: Other

      Description

      Hi,

      I need remove methods for arrays. More in specific, I could use the following
      methods on ArrayUtils:

      Object[] remove(Object[] array, int index);
      Object[] removeElement(Object[] array, Object element);

      and the same for some primitive types...

      I'll attach a patch for ArrayUtils and a junit test. It would be great if this
      could be added to ArrayUtils.

      thanks,
      Maarten

        Activity

        Mark Thomas made changes -
        Workflow jira [ 12370256 ] Default workflow, editable Closed status [ 12602074 ]
        Henri Yandell made changes -
        Fix Version/s 2.1 Final [ 12311701 ]
        Henri Yandell made changes -
        Fix Version/s 2.1 Final [ 12311659 ]
        Project Commons [ 12310458 ] Commons Lang [ 12310481 ]
        Key COM-1199 LANG-256
        Affects Version/s unspecified [ 12311647 ]
        Assignee Jakarta Commons Developers Mailing List [ commons-dev@jakarta.apache.org ]
        Component/s Lang [ 12311121 ]
        Henri Yandell made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 27778 12341351
        Maarten Coene created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Maarten Coene
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development