Bugs item #562325, was opened at 2002-05-30 12:09 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=116035&aid=562325&group_id=16035
Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Aaron Bell (a1r) Assigned to: Nobody/Anonymous (nobody) Summary: BackedList.add(0, obj) broken Initial Comment: Problem: The java.util.List indexed add operation add(0, Object) should succeed for an empty list. Example: The following code should succeed, but fails in dom4j with IndexOutOfBoundsException: List elements = emptyElement.elements(); elements.add(0, someOtherElement); Reason: In BackedList.java (~line 67) the implementation assumes a non- empty list and makes a call to get(0), which fails. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=116035&aid=562325&group_id=16035 _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ dom4j-dev mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-dev