You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@xml.apache.org by km...@locus.apache.org on 2000/10/17 13:55:13 UTC
cvs commit: xml-soap/java/src/org/apache/soap/encoding/soapenc BeanSerializer.java
kmitchell 00/10/17 04:55:12
Modified: java/src/org/apache/soap/encoding/soapenc
BeanSerializer.java
Log:
Submitted by: Chris Nelson and Eric Galluzzo
Reviewed by: Kevin Mitchell
Make getWriteMethod protected and certain other helper methods non-static
Revision Changes Path
1.4 +3 -3 xml-soap/java/src/org/apache/soap/encoding/soapenc/BeanSerializer.java
Index: BeanSerializer.java
===================================================================
RCS file: /home/cvs/xml-soap/java/src/org/apache/soap/encoding/soapenc/BeanSerializer.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- BeanSerializer.java 2000/09/01 03:52:46 1.3
+++ BeanSerializer.java 2000/10/17 11:55:11 1.4
@@ -183,7 +183,7 @@
return new Bean(javaType, bean);
}
- private static PropertyDescriptor[] getPropertyDescriptors(Class javaType)
+ private PropertyDescriptor[] getPropertyDescriptors(Class javaType)
throws IllegalArgumentException
{
BeanInfo beanInfo = null;
@@ -220,7 +220,7 @@
}
}
- private static Method getWriteMethod(String propertyName,
+ protected Method getWriteMethod(String propertyName,
PropertyDescriptor[] pds,
Class javaType)
{
@@ -238,7 +238,7 @@
javaType + "'.");
}
- private static Object instantiateBean(Class javaType)
+ private Object instantiateBean(Class javaType)
throws IllegalArgumentException
{
try