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 ru...@apache.org on 2001/06/04 19:16:04 UTC
cvs commit: xml-axis/java/src/org/apache/axis/encoding BeanSerializer.java
rubys 01/06/04 10:16:04
Modified: java/src/org/apache/axis/encoding BeanSerializer.java
Log:
Remove debug code
Revision Changes Path
1.3 +0 -2 xml-axis/java/src/org/apache/axis/encoding/BeanSerializer.java
Index: BeanSerializer.java
===================================================================
RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/encoding/BeanSerializer.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- BeanSerializer.java 2001/05/08 15:35:05 1.2
+++ BeanSerializer.java 2001/06/04 17:16:02 1.3
@@ -95,7 +95,6 @@
* does NOT creates an instance of the bean.
*/
public BeanSerializer(Class cls) throws Exception {
- if (cls==null) throw new NullPointerException("baz");
this.cls = cls;
this.pd = Introspector.getBeanInfo(cls).getPropertyDescriptors();
}
@@ -105,7 +104,6 @@
* Called only for deserializers, so it DOES create an instance.
*/
public BeanSerializer(Class cls, PropertyDescriptor[] pd) throws Exception {
- if (cls==null) throw new NullPointerException("bar");
this.cls = cls;
this.pd = pd;
this.value = cls.newInstance();