You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by de...@apache.org on 2008/01/10 04:58:54 UTC
svn commit: r610664 -
/webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/utils/BeanUtil.java
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: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org