You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by bu...@apache.org on 2005/08/18 08:14:48 UTC
DO NOT REPLY [Bug 36236] New: -
PropertyName - strings are compared by operator '==' instead of method equals()
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36236>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=36236
Summary: PropertyName - strings are compared by operator '=='
instead of method equals()
Product: Slide
Version: Nightly
Platform: Other
OS/Version: other
Status: NEW
Severity: critical
Priority: P2
Component: Core
AssignedTo: slide-dev@jakarta.apache.org
ReportedBy: pap@commaro.com
class: org.apache.slide.common.PropertyName
method: equals()
problem: strings are compared by operator '==' instead of method equals()
fix with replacing:
return this.name == that.name && this.namespace == that.namespace;
by:
return name.equals(that.name) && namespace.equals(that.namespace);
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org