axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From whitl...@apache.org
Subject cvs commit: xml-axis-wsif/java/src/org/apache/wsif/providers/java WSIFPort_Java.java WSIFOperation_Java.java
Date Wed, 31 Jul 2002 16:56:48 GMT
whitlock    2002/07/31 09:56:48

  Modified:    java/src/org/apache/wsif/providers/java WSIFPort_Java.java
                        WSIFOperation_Java.java
  Log:
  tidy up
  
  Revision  Changes    Path
  1.6       +3 -4      xml-axis-wsif/java/src/org/apache/wsif/providers/java/WSIFPort_Java.java
  
  Index: WSIFPort_Java.java
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/src/org/apache/wsif/providers/java/WSIFPort_Java.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- WSIFPort_Java.java	19 Jul 2002 15:46:30 -0000	1.5
  +++ WSIFPort_Java.java	31 Jul 2002 16:56:47 -0000	1.6
  @@ -249,12 +249,11 @@
           Iterator bindingIterator =
               this.fieldPortModel.getBinding().getExtensibilityElements().iterator();
           while (bindingIterator.hasNext()) {
  -            try {
  -                typeMapping = (TypeMapping) bindingIterator.next();
  +            Object next = bindingIterator.next();
  +            if (next instanceof TypeMapping) {
  +                typeMapping = (TypeMapping) next;
                   if (typeMapping.getEncoding().equals("Java"))
                       break;
  -            } catch (ClassCastException exn) {
  -             	Trc.exception(exn);
               }
           }
   
  
  
  
  1.13      +3 -7      xml-axis-wsif/java/src/org/apache/wsif/providers/java/WSIFOperation_Java.java
  
  Index: WSIFOperation_Java.java
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/src/org/apache/wsif/providers/java/WSIFOperation_Java.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- WSIFOperation_Java.java	19 Jul 2002 15:46:30 -0000	1.12
  +++ WSIFOperation_Java.java	31 Jul 2002 16:56:47 -0000	1.13
  @@ -650,16 +650,12 @@
                       }
                       argTypes.add(argv);
                   } else {
  -                    argTypes.add(getClassForName((String) this.fieldTypeMaps.get(partType)));
  +                    argTypes.add(getClassForName((String)obj));
                   }
   
               }
   
  -            methodArgClasses = new Object[argTypes.size()];
  -            for (int i = 0; i < argTypes.size(); i++) {
  -                methodArgClasses[i] = argTypes.get(i);
  -            }
  -
  +            methodArgClasses = argTypes.toArray();
               fieldInParameterNames = new String[argNames.size()];
               for (int i = 0; i < argNames.size(); i++) {
                   fieldInParameterNames[i] = (String) argNames.get(i);
  @@ -1103,7 +1099,7 @@
                   ex);
           }
   
  -        Trc.exit(new Boolean(operationSucceeded));
  +        Trc.exit(operationSucceeded);
           return operationSucceeded;
       }
   
  
  
  

Mime
View raw message