[prev in list] [next in list] [prev in thread] [next in thread] 

List:       slide-dev
Subject:    DO NOT REPLY [Bug 36236]  New:  -
From:       bugzilla () apache ! org
Date:       2005-08-18 6:14:48
Message-ID: 20050818061448.CA6B0E0 () ajax ! apache ! org
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic