Author: alexsmirnov
Date: 2010-07-09 19:17:17 -0400 (Fri, 09 Jul 2010)
New Revision: 17795
Modified:
root/cdk/branches/RF8755/plugins/generator/src/main/resources/META-INF/templates/_attribute_accessors.ftl
Log:
https://jira.jboss.org/browse/RF-8897
Modified:
root/cdk/branches/RF8755/plugins/generator/src/main/resources/META-INF/templates/_attribute_accessors.ftl
===================================================================
---
root/cdk/branches/RF8755/plugins/generator/src/main/resources/META-INF/templates/_attribute_accessors.ftl 2010-07-09
23:05:13 UTC (rev 17794)
+++
root/cdk/branches/RF8755/plugins/generator/src/main/resources/META-INF/templates/_attribute_accessors.ftl 2010-07-09
23:17:17 UTC (rev 17795)
@@ -8,8 +8,6 @@
public ${attribute.typeName} ${attribute.getterName}() {
<#if attribute.typeForCasting?contains("Boolean")>
return Boolean.valueOf(getStateHelper().eval(Properties.${propertyKey}<#if
attribute.defaultValue?exists>, ${attribute.defaultValue}</#if>).toString());
- <#elseif attribute.typeForCasting?contains("Object") >
- return getStateHelper().get(Properties.${propertyKey});
<#elseif attribute.bindingAttribute || attribute.literal >
return (${attribute.typeForCasting})
getStateHelper().get(Properties.${propertyKey});
<#else>