You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by st...@apache.org on 2002/10/30 20:41:54 UTC

cvs commit: xml-axis/java/src/org/apache/axis/server AxisServer.java

stevel      2002/10/30 11:41:54

  Modified:    java/src/org/apache/axis/server AxisServer.java
  Log:
  a quick raid by the curly bracket police
  
  Revision  Changes    Path
  1.85      +6 -3      xml-axis/java/src/org/apache/axis/server/AxisServer.java
  
  Index: AxisServer.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/server/AxisServer.java,v
  retrieving revision 1.84
  retrieving revision 1.85
  diff -u -r1.84 -r1.85
  --- AxisServer.java	15 Oct 2002 21:15:43 -0000	1.84
  +++ AxisServer.java	30 Oct 2002 19:41:54 -0000	1.85
  @@ -451,8 +451,9 @@
                       if (h instanceof SimpleTargetedChain) {
                           transportChain = (SimpleTargetedChain)h;
                           h = transportChain.getRequestHandler();
  -                        if (h != null)
  +                        if (h != null) {
                               h.generateWSDL(msgContext);
  +                        }
                       }
                   }
   
  @@ -479,11 +480,12 @@
                           rm.getSOAPEnvelope().getFirstBody();
                           h = msgContext.getService();
                       }
  -                    if (h == null)
  +                    if (h == null) {
                           throw new AxisFault(Constants.QNAME_NO_SERVICE_FAULT_CODE,
                                               Messages.getMessage("noService05",
                                                                    "" + msgContext.getTargetService()),
                                               null, null );
  +                    }
                   }
   
                   h.generateWSDL(msgContext);
  @@ -497,8 +499,9 @@
                   /***********************************************/
                   if (transportChain != null) {
                       h = transportChain.getResponseHandler();
  -                    if (h != null)
  +                    if (h != null) {
                           h.generateWSDL(msgContext);
  +                    }
                   }
               }
           } catch (AxisFault e) {