Author: deepal Date: Wed Jan 9 19:58:52 2008 New Revision: 610664 URL: http://svn.apache.org/viewvc?rev=610664&view=rev Log: fixing the problem of serializing parent properties
Modified: webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/utils/BeanUtil.java Modified: webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/utils/BeanUtil.java URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/utils/BeanUtil.java?rev=610664&r1=610663&r2=610664&view=diff ============================================================================== --- webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/utils/BeanUtil.java (original) +++ webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/utils/BeanUtil.java Wed Jan 9 19:58:52 2008 @@ -134,12 +134,12 @@ ExcludeInfo excludeInfo = axisService.getExcludeInfo(); if (excludeInfo != null) { beanExcludeInfo = excludeInfo.getBeanExcludeInfoForClass(supClass.getQualifiedName()); - for (int i = 0; i < properties.length; i++) { - JProperty property = properties[i]; - String propertyName = getCorrectName(property.getSimpleName()); - if ((beanExcludeInfo == null) || !beanExcludeInfo.isExcluedProperty(propertyName)) { - propertyList.add(property); - } + } + for (int i = 0; i < properties.length; i++) { + JProperty property = properties[i]; + String propertyName = getCorrectName(property.getSimpleName()); + if ((beanExcludeInfo == null) || !beanExcludeInfo.isExcluedProperty(propertyName)) { + propertyList.add(property); } } supClass = supClass.getSuperclass(); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]