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 ru...@apache.org on 2001/05/01 00:56:21 UTC

cvs commit: xml-axis/java/src/org/apache/axis/suppliers SimpleSupplier.java

rubys       01/04/30 15:56:21

  Modified:    java/src/org/apache/axis/handlers RPCDispatchHandler.java
               java/src/org/apache/axis/registries SupplierRegistry.java
               java/src/org/apache/axis/suppliers SimpleSupplier.java
  Log:
  Remove some of the traces that are most obscuring the performance data
  
  Revision  Changes    Path
  1.28      +8 -3      xml-axis/java/src/org/apache/axis/handlers/RPCDispatchHandler.java
  
  Index: RPCDispatchHandler.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/handlers/RPCDispatchHandler.java,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- RPCDispatchHandler.java	2001/04/28 23:27:20	1.27
  +++ RPCDispatchHandler.java	2001/04/30 22:56:17	1.28
  @@ -66,6 +66,9 @@
    * @author Doug Davis (dug@us.ibm.com)
    */
   public class RPCDispatchHandler extends BasicHandler {
  +
  +  private static final boolean DEBUG_LOG = false;
  +
     public void invoke(MessageContext msgContext) throws AxisFault {
       Debug.Print( 1, "Enter: RPCDispatchHandler::invoke" );
   
  @@ -117,7 +120,6 @@
           Object[] argValues  =  null ;
   
           if ( args != null && args.size() > 0 ) {
  -          Debug.Print( 2, "There are " + args.size() + " arg(s)" );
             argClasses = new Class[ args.size() ];
             argValues = new Object[ args.size()];
             for ( i = 0 ; i < args.size() ; i++ ) {
  @@ -128,10 +130,13 @@
                   argValues[i]  = arg;
                   argClasses[i] = arg.getClass();
               }
  -            Debug.Print( 2, "  class: " + argClasses[i] );
  -            Debug.Print( 2, "  value: " + argValues[i] == null ? 
  +
  +            if (DEBUG_LOG) {
  +              System.out.println("  class: " + argClasses[i] );
  +              System.out.println("  value: " + argValues[i] == null ? 
                                                "null" :
                                                argValues[i].toString() );
  +            }
             }
           }
     
  
  
  
  1.6       +1 -1      xml-axis/java/src/org/apache/axis/registries/SupplierRegistry.java
  
  Index: SupplierRegistry.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/registries/SupplierRegistry.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- SupplierRegistry.java	2001/04/30 05:24:47	1.5
  +++ SupplierRegistry.java	2001/04/30 22:56:19	1.6
  @@ -136,7 +136,7 @@
             return null;
           }
           Handler h = supplier.getHandler();
  -        Debug.Print( 2, "Exit: SupplierRegistry::find - h=" + h );
  +        Debug.Print( 2, "Exit: SupplierRegistry::find"  );
           return h ;
       }
   
  
  
  
  1.4       +0 -1      xml-axis/java/src/org/apache/axis/suppliers/SimpleSupplier.java
  
  Index: SimpleSupplier.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/suppliers/SimpleSupplier.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- SimpleSupplier.java	2001/02/14 21:35:27	1.3
  +++ SimpleSupplier.java	2001/04/30 22:56:20	1.4
  @@ -74,7 +74,6 @@
       
       public Handler getHandler()
       {
  -        Debug.Print(1, "SimpleSupplier returning " + _handler);
           return _handler;
       }
   }