axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r353852 - in /webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/ideaplugin: bean/OperationObj.java bean/OprationObj.java frames/SelectPanel.java frames/table/ArchiveTableModel.java
Date Sun, 04 Dec 2005 14:52:24 GMT
Author: dims
Date: Sun Dec  4 06:52:21 2005
New Revision: 353852

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


Added:
    webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/ideaplugin/bean/OperationObj.java
      - copied, changed from r353849, webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/ideaplugin/bean/OprationObj.java
Removed:
    webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/ideaplugin/bean/OprationObj.java
Modified:
    webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/ideaplugin/frames/SelectPanel.java
    webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/ideaplugin/frames/table/ArchiveTableModel.java

Copied: webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/ideaplugin/bean/OperationObj.java
(from r353849, webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/ideaplugin/bean/OprationObj.java)
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/ideaplugin/bean/OperationObj.java?p2=webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/ideaplugin/bean/OperationObj.java&p1=webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/ideaplugin/bean/OprationObj.java&r1=353849&r2=353852&rev=353852&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/ideaplugin/bean/OprationObj.java
(original)
+++ webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/ideaplugin/bean/OperationObj.java
Sun Dec  4 06:52:21 2005
@@ -22,14 +22,14 @@
  * Date: Sep 21, 2005
  * Time: 11:36:02 PM
  */
-public class OprationObj {
+public class OperationObj {
 
     private String OpName ;
     private String ReturnValue;
     private Integer parameters;
     private Boolean select;
 
-    public OprationObj(String opName, String returnVale, Integer parameters, Boolean select)
{
+    public OperationObj(String opName, String returnVale, Integer parameters, Boolean select)
{
         OpName = opName;
         ReturnValue = returnVale;
         this.parameters = parameters;

Modified: webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/ideaplugin/frames/SelectPanel.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/ideaplugin/frames/SelectPanel.java?rev=353852&r1=353851&r2=353852&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/ideaplugin/frames/SelectPanel.java
(original)
+++ webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/ideaplugin/frames/SelectPanel.java
Sun Dec  4 06:52:21 2005
@@ -2,7 +2,7 @@
 
 import org.apache.ideaplugin.bean.ObjectKeeper;
 import org.apache.ideaplugin.bean.ArchiveBean;
-import org.apache.ideaplugin.bean.OprationObj;
+import org.apache.ideaplugin.bean.OperationObj;
 import org.apache.ideaplugin.bean.ServiceObj;
 import org.apache.ideaplugin.frames.table.ArchiveTableModel;
 
@@ -11,9 +11,6 @@
 import java.awt.event.ActionListener;
 import java.awt.event.ActionEvent;
 import java.io.File;
-import java.net.URLClassLoader;
-import java.net.URL;
-import java.net.MalformedURLException;
 import java.lang.reflect.Method;
 import java.util.HashMap;
 import java.util.ArrayList;
@@ -181,10 +178,10 @@
                 if(methods.length >0){
                     for (int i = 0; i < methods.length; i++) {
                         Method method = methods[i];
-                        OprationObj Operationobj = new OprationObj(method.getName(),
+                        OperationObj operationobj = new OperationObj(method.getName(),
                                 method.getReturnType().toString(),
                                 new Integer(method.getParameterTypes().length),new Boolean(true));
-                        operations.put(method.getName() ,Operationobj);
+                        operations.put(method.getName() ,operationobj);
                     }
                 }
 
@@ -212,9 +209,9 @@
             ArrayList ops = new ArrayList();
             Iterator opitr = operations.values().iterator();
             while (opitr.hasNext()) {
-                OprationObj oprationObj = (OprationObj) opitr.next();
-                if(oprationObj.getSelect().booleanValue()){
-                    ops.add(oprationObj.getOpName());
+                OperationObj operationObj = (OperationObj) opitr.next();
+                if(operationObj.getSelect().booleanValue()){
+                    ops.add(operationObj.getOpName());
                 }
             }
 

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=353852&r1=353851&r2=353852&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
Sun Dec  4 06:52:21 2005
@@ -1,6 +1,6 @@
 package org.apache.ideaplugin.frames.table;
 
-import org.apache.ideaplugin.bean.OprationObj;
+import org.apache.ideaplugin.bean.OperationObj;
 
 import javax.swing.table.AbstractTableModel;
 import java.util.HashMap;
@@ -40,11 +40,11 @@
         Iterator itr =  dataobjetc.values().iterator();
         int count =0;
         while (itr.hasNext()) {
-            OprationObj oprationObj = (OprationObj) itr.next();
-            datvalue[count][0]=oprationObj.getOpName();
-            datvalue[count][1]=oprationObj.getReturnValue();
-            datvalue[count][2]=oprationObj.getParameters();
-            datvalue[count][3]=oprationObj.getSelect();
+            OperationObj operationObj = (OperationObj) itr.next();
+            datvalue[count][0]=operationObj.getOpName();
+            datvalue[count][1]=operationObj.getReturnValue();
+            datvalue[count][2]=operationObj.getParameters();
+            datvalue[count][3]=operationObj.getSelect();
             count ++;
         }
         this.datobjs = dataobjetc;
@@ -73,7 +73,7 @@
         return col >= 3;
     }
     public void setValueAt(Object value, int row, int col) {
-        OprationObj obj = (OprationObj)datobjs.get(getValueAt(row,0));
+        OperationObj obj = (OperationObj)datobjs.get(getValueAt(row,0));
         if(col == 3){
             obj.setSelect((Boolean)value);
         }



Mime
View raw message