axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/encoding BeanSerializer.java
Date Mon, 04 Jun 2001 17:16:04 GMT
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();
  
  
  

Mime
View raw message