You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2013/10/21 17:47:34 UTC
svn commit: r1534239 -
/myfaces/core/trunk/api/src/main/java/javax/faces/component/_ComponentAttributesMap.java
Author: lu4242
Date: Mon Oct 21 15:47:34 2013
New Revision: 1534239
URL: http://svn.apache.org/r1534239
Log:
MYFACES-3780 _ComponentAttributesMap return null when no property descriptor is available and null value is passed to map (revert fix because makes TCK fail)
Modified:
myfaces/core/trunk/api/src/main/java/javax/faces/component/_ComponentAttributesMap.java
Modified: myfaces/core/trunk/api/src/main/java/javax/faces/component/_ComponentAttributesMap.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/java/javax/faces/component/_ComponentAttributesMap.java?rev=1534239&r1=1534238&r2=1534239&view=diff
==============================================================================
--- myfaces/core/trunk/api/src/main/java/javax/faces/component/_ComponentAttributesMap.java (original)
+++ myfaces/core/trunk/api/src/main/java/javax/faces/component/_ComponentAttributesMap.java Mon Oct 21 15:47:34 2013
@@ -574,10 +574,10 @@ class _ComponentAttributesMap implements
_PropertyDescriptorHolder propertyDescriptor = getPropertyDescriptor(key);
if (propertyDescriptor == null)
{
- //if (value == null)
- //{
- // throw new NullPointerException("value is null for a not available property: " + key);
- //}
+ if (value == null)
+ {
+ throw new NullPointerException("value is null for a not available property: " + key);
+ }
}
else
{