avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: avalon-logkit/src/compat/org/apache/log/format AvalonFormatter.java ExceptionUtil.java
Date Thu, 17 Apr 2003 09:10:59 GMT
donaldp     2003/04/17 02:10:59

  Modified:    src/compat/org/apache/log/format AvalonFormatter.java
                        ExceptionUtil.java
  Log:
  Decruft
  
  Revision  Changes    Path
  1.9       +2 -6      avalon-logkit/src/compat/org/apache/log/format/AvalonFormatter.java
  
  Index: AvalonFormatter.java
  ===================================================================
  RCS file: /home/cvs/avalon-logkit/src/compat/org/apache/log/format/AvalonFormatter.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- AvalonFormatter.java	9 Feb 2003 23:33:21 -0000	1.8
  +++ AvalonFormatter.java	17 Apr 2003 09:10:59 -0000	1.9
  @@ -55,9 +55,6 @@
   package org.apache.log.format;
   
   import org.apache.log.LogEvent;
  -import org.apache.log.format.ExtendedPatternFormatter;
  -import org.apache.log.format.PatternFormatter;
  -import org.apache.log.util.StackIntrospector;
   
   /**
    * This formatter extends ExtendedPatternFormatter so that
  @@ -81,7 +78,6 @@
       private static final int TYPE_CLASS = MAX_TYPE + 1;
   
       private static final String TYPE_CLASS_STR = "class";
  -    private static final String TYPE_CLASS_SHORT_STR = "short";
   
       /**
        * The constant defining the default stack depth when
  @@ -168,7 +164,7 @@
           switch( run.m_type )
           {
               case TYPE_CLASS:
  -                return getClass( run.m_format );
  +                return getClassname();
               default:
                   return super.formatPatternRun( event, run );
           }
  @@ -177,7 +173,7 @@
       /**
        * Finds the class that has called Logger.
        */
  -    private String getClass( String format )
  +    private String getClassname()
       {
           return "Unknown-class";
       }
  
  
  
  1.5       +0 -2      avalon-logkit/src/compat/org/apache/log/format/ExceptionUtil.java
  
  Index: ExceptionUtil.java
  ===================================================================
  RCS file: /home/cvs/avalon-logkit/src/compat/org/apache/log/format/ExceptionUtil.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ExceptionUtil.java	9 Feb 2003 23:33:21 -0000	1.4
  +++ ExceptionUtil.java	17 Apr 2003 09:10:59 -0000	1.5
  @@ -64,8 +64,6 @@
    *
    * Some exception handling stuff thieved from Turbine...
    *
  - * @deprecated use org.apache.avalon.framework.ExceptionUtil instead
  - *
    * @author <a href="mailto:dev@avalon.apache.org">Avalon Development Team</a>
    * @version 1.0
    */
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org


Mime
View raw message