myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Rossmueller (JIRA)" <>
Subject [jira] Created: (MYFACES-463) javax.faces.component._ComponentAttributesMap misses correct equals() method
Date Mon, 29 Aug 2005 23:44:04 GMT
javax.faces.component._ComponentAttributesMap misses correct equals() method

         Key: MYFACES-463
     Project: MyFaces
        Type: Bug
  Components: JSR-127  
    Versions: Nightly Build    
 Reporter: Oliver Rossmueller

javax.faces.component._ComponentAttributesMap does not fullfil the Map contract because equals()
is not implemented as required for Map:

public boolean equals(Object o)

    Compares the specified object with this map for equality. Returns true if the given object
is also a map and the two Maps represent the same mappings. More formally, two maps t1 and
t2 represent the same mappings if t1.entrySet().equals(t2.entrySet()). This ensures that the
equals method works properly across different implementations of the Map interface.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message