mpoeschl    2002/12/15 03:57:17

  Modified:    src/java/org/apache/turbine/util Log.java
  Log:
  remove deprecated methods
  
  Revision  Changes    Path
  1.3       +0 -39     jakarta-turbine-2/src/java/org/apache/turbine/util/Log.java
  
  Index: Log.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/util/Log.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Log.java  11 Jul 2002 16:53:21 -0000      1.2
  +++ Log.java  15 Dec 2002 11:57:17 -0000      1.3
  @@ -69,17 +69,6 @@
   public class Log
   {
       /**
  -     * This method has been deprecated, attempts to shutdown logger service.
  -     * @deprecated The service should be shut down by the broker class only.
  -     */
  -    public static void destroy()
  -    {
  -        LoggingService logger = (LoggingService)TurbineServices.getInstance()
  -            .getService(LoggingService.SERVICE_NAME);
  -        logger.shutdown();
  -    }
  -
  -    /**
        * This method returns default logger for Turbine System
        *
        * @return The default logger for system.
  @@ -127,7 +116,6 @@
        * Format tokens are described in RunDataFilter implementation.
        *
        * @see org.apache.turbine.services.logging.BaseRunDataFilter
  -     *
        * @param format String describing what information should be extracted from
        *        RunData
        */
  @@ -143,7 +131,6 @@
        * Format tokens are described in RunDataFilter implementation.
        *
        * @see org.apache.turbine.services.logging.BaseRunDataFilter
  -     *
        * @param format String describing what information should be extracted from
        *        RunData
        */
  @@ -525,31 +512,5 @@
       public static void error(Throwable e)
       {
           error("", e);
  -    }
  -
  -    /**
  -     * This method has been deprecated.
  -     * This is method is kept for historical reason.
  -     *
  -     * @deprecated You should use info or debug methods instead.
  -     */
  -    public static void note(String message)
  -    {
  -        LoggingService logger = (LoggingService)TurbineServices.getInstance()
  -            .getService(LoggingService.SERVICE_NAME);
  -        logger.info(message);
  -    }
  -
  -    /**
  -     * This method has been deprecated.
  -     * This is method is kept for historical reason.
  -     *
  -     * @deprecated You should use info or debug methods instead.
  -     */
  -    public static void note(String logName, String message)
  -    {
  -        LoggingService logger = (LoggingService)TurbineServices.getInstance()
  -            .getService(LoggingService.SERVICE_NAME);
  -        logger.info(logName, message);
       }
   }
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to