Wow, that is bizarre. What do you suggest we make it do? Or should we just eliminate the equals() method and let nature take its course?
On Tue, Apr 5, 2011 at 7:56 AM, Dmitry Repchevsky <[email protected]> wrote: > Hello! > > Trying to remove an XmlSchemaElement object from XmlSchema I faced a problem > with XmlSchemaObject equals() method. > > XmlSchema keeps its items in a ArrayList which uses equals() to compare > elements. > > calling > xmlSchema.getItems().remove(xmlSchemaElement); > just removes a first item... > > Right now I have to search an item by myself to find an index to remove. > > Kind regards, > > Dmitry > > WARNING / LEGAL TEXT: This message is intended only for the use of the > individual or entity to which it is addressed and may contain > information which is privileged, confidential, proprietary, or exempt > from disclosure under applicable law. If you are not the intended > recipient or the person responsible for delivering the message to the > intended recipient, you are strictly prohibited from disclosing, > distributing, copying, or in any way using this message. If you have > received this communication in error, please notify the sender and > destroy and delete any copies you may have received. > > http://www.bsc.es/disclaimer.htm > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
