ws-wsif-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ow...@apache.org
Subject cvs commit: xml-axis-wsif/java/src/org/apache/wsif/providers/java WSIFOperation_Java.java
Date Tue, 06 May 2003 09:14:52 GMT
owenb       2003/05/06 02:14:52

  Modified:    java/src/org/apache/wsif/providers/java
                        WSIFOperation_Java.java
  Log:
  Backwards compatability fix -tolerate java bindings with no methodType attribute for an
operation. Assume instance method
  
  Revision  Changes    Path
  1.43      +9 -11     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.42
  retrieving revision 1.43
  diff -u -r1.42 -r1.43
  --- WSIFOperation_Java.java	31 Mar 2003 14:05:49 -0000	1.42
  +++ WSIFOperation_Java.java	6 May 2003 09:14:52 -0000	1.43
  @@ -167,17 +167,15 @@
   
           // Check what kind of method we have...
           String methodType = fieldJavaOperationModel.getMethodType();
  -        if (methodType != null) {
  -            if (methodType.equals("static")) {
  -                fieldIsStatic = true;
  -                fieldMethods = getMethods(allMethods);
  -            } else if (methodType.equals("constructor")) {
  -                fieldIsConstructor = true;
  -                fieldConstructors = getConstructors();
  -            } else {
  -                // Assume instance method...
  -                fieldMethods = getMethods(allMethods);
  -            }
  +        if ("static".equals(methodType)) {
  +        	fieldIsStatic = true;
  +            fieldMethods = getMethods(allMethods);
  +        } else if ("constructor".equals(methodType)) {
  +        	fieldIsConstructor = true;
  +            fieldConstructors = getConstructors();
  +        } else {
  +        	// Assume instance method...
  +            fieldMethods = getMethods(allMethods);
           }
   
           if (Trc.ON)
  
  
  

Mime
View raw message