You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2017/04/08 03:29:49 UTC
svn commit: r1790648 -
/myfaces/trinidad/trunk/trinidad-api/src/main/java-templates/org/apache/myfaces/trinidad/component/UIXEditableValueTemplate.java
Author: bommel
Date: Sat Apr 8 03:29:49 2017
New Revision: 1790648
URL: http://svn.apache.org/viewvc?rev=1790648&view=rev
Log:
(TRINIDAD-2450)
ClassCastException @ UIXEditableValue.shouldValidateEmptyFields
fixed race condition
Modified:
myfaces/trinidad/trunk/trinidad-api/src/main/java-templates/org/apache/myfaces/trinidad/component/UIXEditableValueTemplate.java
Modified: myfaces/trinidad/trunk/trinidad-api/src/main/java-templates/org/apache/myfaces/trinidad/component/UIXEditableValueTemplate.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-api/src/main/java-templates/org/apache/myfaces/trinidad/component/UIXEditableValueTemplate.java?rev=1790648&r1=1790647&r2=1790648&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-api/src/main/java-templates/org/apache/myfaces/trinidad/component/UIXEditableValueTemplate.java (original)
+++ myfaces/trinidad/trunk/trinidad-api/src/main/java-templates/org/apache/myfaces/trinidad/component/UIXEditableValueTemplate.java Sat Apr 8 03:29:49 2017
@@ -626,7 +626,7 @@ abstract public class UIXEditableValueTe
// an other thread could have changed the value
if (value instanceof Boolean)
{
- shouldValidateEmptyFields = value;
+ shouldValidateEmptyFields = (Boolean) value;
return shouldValidateEmptyFields;
}
else