myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Freedman (JIRA)" <...@myfaces.apache.org>
Subject [jira] Created: (PORTLETBRIDGE-111) Bridge RequestParamValues and RequestHeaderValues Map don't support equals() correctly
Date Fri, 29 Jan 2010 16:56:34 GMT
Bridge RequestParamValues and RequestHeaderValues Map don't support equals() correctly
--------------------------------------------------------------------------------------

                 Key: PORTLETBRIDGE-111
                 URL: https://issues.apache.org/jira/browse/PORTLETBRIDGE-111
             Project: MyFaces Portlet Bridge
          Issue Type: Bug
          Components: Impl
    Affects Versions: 2.0.0-alpha, 1.0.0-beta
            Reporter: Michael Freedman
            Assignee: Michael Freedman


Both externalContext.getRequestParameterValues() and getRequestHeaderValues() return Maps
of type <String, String[]>.  If you try and compare 2 equal Maps of these using map1.equals(map2)
it fails because the generic AbstractMap equals doesn't support/properly compare Arrays. 
Instead these Map impls (which are special internal bridge impls) must support equals directly.

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


Mime
View raw message