axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdani...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/wsdl/fromJava ClassRep.java
Date Thu, 10 Jan 2002 22:28:30 GMT
gdaniels    02/01/10 14:28:30

  Modified:    java/src/org/apache/axis/wsdl/fromJava ClassRep.java
  Log:
  A little bulletproofing.
  
  Revision  Changes    Path
  1.6       +3 -0      xml-axis/java/src/org/apache/axis/wsdl/fromJava/ClassRep.java
  
  Index: ClassRep.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/wsdl/fromJava/ClassRep.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ClassRep.java	7 Jan 2002 20:39:55 -0000	1.5
  +++ ClassRep.java	10 Jan 2002 22:28:30 -0000	1.6
  @@ -388,6 +388,9 @@
        * @return true if the Property has JavaBean style accessors
        */
       protected boolean isJavaBeanNormal(Class cls, String name, Class type) {
  +        if ((name == null) || (name.length() == 0))
  +            return false;
  +        
           try {
               String propName = name.substring(0,1).toUpperCase()
                   + name.substring(1);
  
  
  

Mime
View raw message