stevel      2002/06/28 01:05:56

  Modified:    java/src/org/apache/axis/transport/http AxisServletBase.java
  Log:
  detabbing. is there any way in idea to make tabs visible?
  
  Revision  Changes    Path
  1.2       +33 -33    
xml-axis/java/src/org/apache/axis/transport/http/AxisServletBase.java
  
  Index: AxisServletBase.java
  ===================================================================
  RCS file: 
/home/cvs/xml-axis/java/src/org/apache/axis/transport/http/AxisServletBase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AxisServletBase.java      28 Jun 2002 07:34:37 -0000      1.1
  +++ AxisServletBase.java      28 Jun 2002 08:05:55 -0000      1.2
  @@ -93,15 +93,15 @@
           LogFactory.getLog(AxisServlet.class.getName());
       private static boolean isDebug = false;
   
  -     /**
  -      *  count number of service requests in progrss
  -      */
  -     private static int loadCounter = 0;
  -
  -     /**
  -      *  and a lock
  -      */
  -     private static Object loadCounterLock = new Object();
  +    /**
  +     *  count number of service requests in progress
  +     */
  +    private static int loadCounter = 0;
  +
  +    /**
  +     *  and a lock
  +     */
  +    private static Object loadCounterLock = new Object();
   
       /**
        * name of the axis engine to use in the servlet context
  @@ -206,12 +206,12 @@
        */
       private static AxisServer retrieveEngine(ServletContext context) {
           Object contextObject = context.getAttribute(ATTR_AXIS_ENGINE);
  -             if (contextObject instanceof AxisServer) {
  -                     return (AxisServer) contextObject;
  -             }
  -             else {
  -                     return null;
  -             }
  +        if (contextObject instanceof AxisServer) {
  +            return (AxisServer) contextObject;
  +        }
  +        else {
  +            return null;
  +        }
        }
   
   
  @@ -245,16 +245,16 @@
       }
   
   
  -     /**
  -      *  get a count of the # of services running. This is only
  +    /**
  +     *  get a count of the # of services running. This is only
        *  ever an approximate number in a busy system
  -      *
  -      * @return    The TotalServiceCount value
  -      */
  -
  -     public static int getLoadCounter() {
  -                     return loadCounter;
  -     }
  +     *
  +     * @return    The TotalServiceCount value
  +     */
  +
  +    public static int getLoadCounter() {
  +            return loadCounter;
  +    }
   
       /**
        * thread safe lock counter increment
  @@ -284,13 +284,13 @@
        * @throws IOException something different went wrong
        */
       protected void service(HttpServletRequest req, HttpServletResponse resp)
  -             throws ServletException, IOException {
  -             incLockCounter();
  -             try {
  -                     super.service(req, resp);
  -             }
  -             finally {
  -                     decLockCounter();
  -             }
  -     }
  +        throws ServletException, IOException {
  +        incLockCounter();
  +        try {
  +            super.service(req, resp);
  +        }
  +        finally {
  +            decLockCounter();
  +        }
  +    }
   }
  
  
  


Reply via email to