You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2013/09/23 10:35:03 UTC

[jira] [Created] (MYFACES-3780) _ComponentAttributesMap return null when no property descriptor is available and null value is passed to map

Leonardo Uribe created MYFACES-3780:
---------------------------------------

             Summary: _ComponentAttributesMap return null when no property descriptor is available and null value is passed to map
                 Key: MYFACES-3780
                 URL: https://issues.apache.org/jira/browse/MYFACES-3780
             Project: MyFaces Core
          Issue Type: Bug
          Components: JSR-314, JSR-344
            Reporter: Leonardo Uribe
            Assignee: Leonardo Uribe


Checking some stuff I have found that there is an old check for null in ComponentAttributesMap.put(...)

This check doesn't have sense, because null values are valid for hashmap, and in that sense the check is useless.

The fix is very simple, just remove the unnecessary check. I just comment the related code, to prevent other people to try to add it in the future.

The fix will be done on 2.0.x, 2.1.x and 2.2.x branches

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira