axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rsi...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/client Call.java
Date Mon, 10 Jun 2002 22:48:33 GMT
rsitze      2002/06/10 15:48:33

  Modified:    java/src/org/apache/axis/client Call.java
  Log:
  use accessor methods
  
  Revision  Changes    Path
  1.132     +6 -7      xml-axis/java/src/org/apache/axis/client/Call.java
  
  Index: Call.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/client/Call.java,v
  retrieving revision 1.131
  retrieving revision 1.132
  diff -u -r1.131 -r1.132
  --- Call.java	6 Jun 2002 00:00:56 -0000	1.131
  +++ Call.java	10 Jun 2002 22:48:33 -0000	1.132
  @@ -365,7 +365,7 @@
                   return new Boolean(getMaintainSession());
               }
               else if (name.equals(OPERATION_STYLE_PROPERTY)) {
  -                return ServiceDesc.getStringFromStyle(operationStyle);
  +                return ServiceDesc.getStringFromStyle(getOperationStyle());
               }
               else if (name.equals(SOAPACTION_USE_PROPERTY)) {
                   return new Boolean(useSOAPAction());
  @@ -515,10 +515,9 @@
        * @param namespaceURI URI of the encoding to use.
        */
       public void setEncodingStyle(String namespaceURI) {
  -        if (namespaceURI == null)
  -            namespaceURI = "";
  -
  -        encodingStyle = namespaceURI;
  +        encodingStyle = (namespaceURI == null)
  +                        ? ""
  +                        : namespaceURI;
       }
   
       /**
  @@ -1851,8 +1850,8 @@
   
           msgContext.setOperation(operation);
   
  -        operation.setStyle(operationStyle);
  -        msgContext.setOperationStyle(operationStyle);
  +        operation.setStyle(getOperationStyle());
  +        msgContext.setOperationStyle(getOperationStyle());
   
           if (useSOAPAction) {
               msgContext.setUseSOAPAction(true);
  
  
  

Mime
View raw message