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 gd...@apache.org on 2002/05/01 21:00:15 UTC

cvs commit: xml-axis/java/src/org/apache/axis/encoding/ser BeanPropertyTarget.java

gdaniels    02/05/01 12:00:14

  Modified:    java/src/org/apache/axis/encoding/ser
                        BeanPropertyTarget.java
  Log:
  A little cleanup
  
  Revision  Changes    Path
  1.7       +2 -4      xml-axis/java/src/org/apache/axis/encoding/ser/BeanPropertyTarget.java
  
  Index: BeanPropertyTarget.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/encoding/ser/BeanPropertyTarget.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- BeanPropertyTarget.java	20 Apr 2002 00:22:24 -0000	1.6
  +++ BeanPropertyTarget.java	1 May 2002 19:00:14 -0000	1.7
  @@ -75,7 +75,7 @@
       
       /** 
        * This constructor is used for a normal property.
  -     * @param Object is the bean class
  +     * @param object is the bean class
        * @param pd is the property
        **/
       public BeanPropertyTarget(Object object, BeanPropertyDescriptor pd) {
  @@ -86,7 +86,7 @@
       
       /** 
        * This constructor is used for an indexed property.
  -     * @param Object is the bean class
  +     * @param object is the bean class
        * @param pd is the property
        * @param i is the index          
        **/
  @@ -112,10 +112,8 @@
                       pd.set(object, index, value);
               } catch (Exception ex) {
                   String field= pd.getName();
  -                int i = 0;
                   if (index >=0) {
                       field += "[" + index + "]";
  -                    i = 1;
                   }
                   if (log.isErrorEnabled()) {
                       String valueType = "null";