myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Created] (MYFACES-3780) _ComponentAttributesMap return null when no property descriptor is available and null value is passed to map
Date Mon, 23 Sep 2013 08:35:03 GMT
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

Mime
View raw message