Author: nbelaevski
Date: 2008-04-09 14:28:09 -0400 (Wed, 09 Apr 2008)
New Revision: 7719
Modified:
branches/3.2.x/cdk/generator/src/main/java/org/ajax4jsf/builder/config/ComponentBaseBean.java
Log:
http://jira.jboss.com/jira/browse/RF-2918
Modified:
branches/3.2.x/cdk/generator/src/main/java/org/ajax4jsf/builder/config/ComponentBaseBean.java
===================================================================
---
branches/3.2.x/cdk/generator/src/main/java/org/ajax4jsf/builder/config/ComponentBaseBean.java 2008-04-09
18:21:26 UTC (rev 7718)
+++
branches/3.2.x/cdk/generator/src/main/java/org/ajax4jsf/builder/config/ComponentBaseBean.java 2008-04-09
18:28:09 UTC (rev 7719)
@@ -5,7 +5,6 @@
import java.lang.reflect.Modifier;
import java.util.Arrays;
import java.util.Collection;
-import java.util.HashMap;
import java.util.Map;
import java.util.TreeMap;
@@ -14,7 +13,6 @@
import javax.naming.ConfigurationException;
import org.apache.commons.beanutils.PropertyUtils;
-import org.apache.tools.ant.BuildException;
public class ComponentBaseBean extends JsfBean {
@@ -239,7 +237,7 @@
if(!property.getClassname().equals(descriptor.getPropertyType().getCanonicalName())){
String message = "Class "+property.getClassname()+" for property
"+property.getName()+" not equals with real bean property type:
"+descriptor.getPropertyType().getCanonicalName();
getLog().error(message);
- //throw new IllegalArgumentException(message);
+ throw new IllegalArgumentException(message);
}
}
if (property.getDescription() == null) {