You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Catherine Hope (JIRA)" <ji...@apache.org> on 2009/07/13 16:55:14 UTC

[jira] Closed: (HARMONY-6267) [classlib][text] Implementation of AttributedCharacterIterator.Attribute.equals should only return true if objects are the same

     [ https://issues.apache.org/jira/browse/HARMONY-6267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Catherine Hope closed HARMONY-6267.
-----------------------------------


Verified with svn.apache.org/repos/asf/harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/AttributedCharacterIterator.java level 793553

> [classlib][text] Implementation of AttributedCharacterIterator.Attribute.equals should only return true if objects are the same
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6267
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6267
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: all
>            Reporter: Catherine Hope
>            Assignee: Tim Ellison
>            Priority: Minor
>             Fix For: 5.0M11
>
>         Attachments: patch.txt
>
>
> According to the spec for class AttributedCharacterIterator.Attribute, the equals method:
> "Compares two objects for equality. This version only returns true for x.equals(y) if x and y refer to the same object, and guarantees this for all subclasses."
> At the moment the method returns true if the objects were constructed with the same name.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.