Author: Alex.Kolonitsky
Date: 2010-05-19 07:16:48 -0400 (Wed, 19 May 2010)
New Revision: 17118
Modified:
root/ui/core/trunk/api/src/main/java/org/richfaces/view/facelets/tag/BehaviorRule.java
Log:
fix checkstyle
Modified:
root/ui/core/trunk/api/src/main/java/org/richfaces/view/facelets/tag/BehaviorRule.java
===================================================================
---
root/ui/core/trunk/api/src/main/java/org/richfaces/view/facelets/tag/BehaviorRule.java 2010-05-19
01:06:32 UTC (rev 17117)
+++
root/ui/core/trunk/api/src/main/java/org/richfaces/view/facelets/tag/BehaviorRule.java 2010-05-19
11:16:48 UTC (rev 17118)
@@ -87,10 +87,8 @@
type = Object.class;
}
return new ValueExpressionMetadata(name, type, attribute);
- } else
+ } else if (meta != null) {
- if (meta != null) {
-
if (meta.getWriteMethod(name) != null) {
if ("execute".equals(name) ||
"render".equals(name)) {
return new LiteralAttributeMetadata(name, attribute.getValue());