Author: darran.lofthouse(a)jboss.com
Date: 2006-12-14 08:42:11 -0500 (Thu, 14 Dec 2006)
New Revision: 1647
Modified:
branches/dlofthouse/JBWS-1428/src/main/java/org/jboss/ws/tools/schema/SchemaTypeCreator.java
Log:
JBWS-1428 - Modified to check if there is non-indexed property available when an
IndexedPropertyDescriptor is found.
Modified:
branches/dlofthouse/JBWS-1428/src/main/java/org/jboss/ws/tools/schema/SchemaTypeCreator.java
===================================================================
---
branches/dlofthouse/JBWS-1428/src/main/java/org/jboss/ws/tools/schema/SchemaTypeCreator.java 2006-12-14
12:31:13 UTC (rev 1646)
+++
branches/dlofthouse/JBWS-1428/src/main/java/org/jboss/ws/tools/schema/SchemaTypeCreator.java 2006-12-14
13:42:11 UTC (rev 1647)
@@ -579,9 +579,9 @@
String fieldname = prop.getName();
Class fieldType = prop.getPropertyType();
- if (prop instanceof IndexedPropertyDescriptor)
+ if (prop instanceof IndexedPropertyDescriptor && fieldType==null)
{
- log.warn("Indexed Properties are not supported skipping: " +
javaType.getName() + "." + fieldname);
+ log.warn("Indexed Properties without non-indexed accessors are not
supported skipping: " + javaType.getName() + "." + fieldname);
continue;
}
Show replies by date