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/java/org/apache/log/format ExtendedPatternFormatter.java
Date Mon, 07 Apr 2003 11:39:06 GMT
donaldp     2003/04/07 04:39:06

  Modified:    src/java/org/apache/log/format ExtendedPatternFormatter.java
  Log:
  Removed unused parameters
  
  Revision  Changes    Path
  1.12      +7 -7      avalon-logkit/src/java/org/apache/log/format/ExtendedPatternFormatter.java
  
  Index: ExtendedPatternFormatter.java
  ===================================================================
  RCS file: /home/cvs/avalon-logkit/src/java/org/apache/log/format/ExtendedPatternFormatter.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- ExtendedPatternFormatter.java	9 Feb 2003 23:33:22 -0000	1.11
  +++ ExtendedPatternFormatter.java	7 Apr 2003 11:39:06 -0000	1.12
  @@ -96,6 +96,7 @@
   
      /**
       * Creation of a new extended pattern formatter.
  +    *
       * @param format the format string
       * @param callStackOffset the offset
       */
  @@ -128,6 +129,7 @@
   
       /**
        * Formats a single pattern run (can be extended in subclasses).
  +     *
        * @param event the log event
        * @param  run the pattern run to format.
        * @return the formatted result.
  @@ -137,9 +139,9 @@
           switch( run.m_type )
           {
               case TYPE_METHOD:
  -                return getMethod( event, run.m_format );
  +                return getMethod( event );
               case TYPE_THREAD:
  -                return getThread( event, run.m_format );
  +                return getThread( event );
               default:
                   return super.formatPatternRun( event, run );
           }
  @@ -149,10 +151,9 @@
        * Utility method to format category.
        *
        * @param event the event
  -     * @param format ancilliary format parameter - allowed to be null
        * @return the formatted string
        */
  -    private String getMethod( final LogEvent event, final String format )
  +    private String getMethod( final LogEvent event )
       {
           final ContextMap map = event.getContextMap();
           if( null != map )
  @@ -184,10 +185,9 @@
        * Utility thread to format category.
        *
        * @param event the even
  -     * @param format ancilliary format parameter - allowed to be null
        * @return the formatted string
        */
  -    private String getThread( final LogEvent event, final String format )
  +    private String getThread( final LogEvent event )
       {
           final ContextMap map = event.getContextMap();
           if( null != map )
  
  
  

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


Mime
View raw message