You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2003/02/19 21:11:38 UTC
DO NOT REPLY [Bug 17220] New: -
Wrong equals method in XNodeSequenceSingleton.java
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17220>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17220
Wrong equals method in XNodeSequenceSingleton.java
Summary: Wrong equals method in XNodeSequenceSingleton.java
Product: XalanJ2
Version: CurrentCVS
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: org.apache.xpath
AssignedTo: xalan-dev@xml.apache.org
ReportedBy: villard@us.ibm.com
Bad equals method in XNodeSequenceSingleton.java whenever the argument is an
XObject. Here a proposal to correct it:
/**
* @see java.lang.Object#equals(Object)
*/
public boolean equals(Object arg0)
{
if(arg0 instanceof XObject)
{
return equals((XObject)arg0);
}
return false;
}