RubyArray.remove should not remove all occurrences
--------------------------------------------------

                 Key: JRUBY-4661
                 URL: http://jira.codehaus.org/browse/JRUBY-4661
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.4
            Reporter: Charles Oliver Nutter
            Assignee: Thomas E Enebo
            Priority: Minor


Currently, RubyArray implements List.remove(Object) by searching for all 
occurrences of the object and removing all of them. However, the contract of 
List.remove is that it should remove the *first* instance and leave others 
intact. We should fix this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to