axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r358386 - in /webservices/axis2/trunk/java/modules: adb/src/org/apache/axis2/databinding/utils/BeanUtil.java tool/ideaplugin/plugin/org/apache/ideaplugin/frames/table/ArchiveTableModel.java
Date Wed, 21 Dec 2005 21:16:54 GMT
Author: dims
Date: Wed Dec 21 13:16:49 2005
New Revision: 358386

URL: http://svn.apache.org/viewcvs?rev=358386&view=rev
Log:
fix spelling

Modified:
    webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/utils/BeanUtil.java
    webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/ideaplugin/frames/table/ArchiveTableModel.java

Modified: webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/utils/BeanUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/utils/BeanUtil.java?rev=358386&r1=358385&r2=358386&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/utils/BeanUtil.java
(original)
+++ webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/utils/BeanUtil.java
Wed Dec 21 13:16:49 2005
@@ -50,7 +50,7 @@
         try {
             BeanInfo beanInfo = Introspector.getBeanInfo(beanObject.getClass());
             PropertyDescriptor [] propDescs = beanInfo.getPropertyDescriptors();
-            ArrayList objetc = new ArrayList();
+            ArrayList object = new ArrayList();
             for (int i = 0; i < propDescs.length; i++) {
                 PropertyDescriptor propDesc = propDescs[i];
                 Class ptype = propDesc.getPropertyType();
@@ -59,8 +59,8 @@
                 }
                 if (SimpleTypeMapper.isSimpleType(ptype)) {
                     Object value = propDesc.getReadMethod().invoke(beanObject, null);
-                    objetc.add(propDesc.getName());
-                    objetc.add(value.toString());
+                    object.add(propDesc.getName());
+                    object.add(value.toString());
                 } else if (SimpleTypeMapper.isArrayList(ptype)) {
                     Object value = propDesc.getReadMethod().invoke(beanObject, null);
                     ArrayList objList = (ArrayList) value;
@@ -71,22 +71,22 @@
                         for (int j = 0; j < objList.size(); j++) {
                             Object o = objList.get(j);
                             if(SimpleTypeMapper.isSimpleType(o)){
-                                objetc.add(propDesc.getName());
-                                objetc.add(o);
+                                object.add(propDesc.getName());
+                                object.add(o);
                             } else {
-                                objetc.add(new QName(propDesc.getName()));
-                                objetc.add(o);
+                                object.add(new QName(propDesc.getName()));
+                                object.add(o);
                             }
                         }
 
                     }
                 } else {
-                    objetc.add(new QName(propDesc.getName()));
+                    object.add(new QName(propDesc.getName()));
                     Object value = propDesc.getReadMethod().invoke(beanObject, null);
-                    objetc.add(value);
+                    object.add(value);
                 }
             }
-            return ADBPullParser.createPullParser(beanName, objetc.toArray(), null);
+            return ADBPullParser.createPullParser(beanName, object.toArray(), null);
             // TODO : Deepal fix this. I added another parameter to the above method in the
ADBPullPrser
             // to get the attributes array. For the time being I passed null. Pass attributes
array here.
 

Modified: webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/ideaplugin/frames/table/ArchiveTableModel.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/ideaplugin/frames/table/ArchiveTableModel.java?rev=358386&r1=358385&r2=358386&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/ideaplugin/frames/table/ArchiveTableModel.java
(original)
+++ webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/ideaplugin/frames/table/ArchiveTableModel.java
Wed Dec 21 13:16:49 2005
@@ -34,10 +34,10 @@
     Object [][] datvalue;
     private HashMap datobjs;
 
-    public ArchiveTableModel(HashMap dataobjetc) {
-        int size = dataobjetc.size();
+    public ArchiveTableModel(HashMap dataobject) {
+        int size = dataobject.size();
         datvalue = new Object[size][4];
-        Iterator itr =  dataobjetc.values().iterator();
+        Iterator itr =  dataobject.values().iterator();
         int count =0;
         while (itr.hasNext()) {
             OperationObj operationObj = (OperationObj) itr.next();
@@ -47,7 +47,7 @@
             datvalue[count][3]=operationObj.getSelect();
             count ++;
         }
-        this.datobjs = dataobjetc;
+        this.datobjs = dataobject;
     }
     public int getColumnCount() {
         return columnNames.length;



Mime
View raw message