donaldp     2002/11/07 17:49:52

  Modified:    src/java/org/apache/log/format PatternFormatter.java
  Log:
  Fix javadocs
  
  Revision  Changes    Path
  1.33      +17 -3     
jakarta-avalon-logkit/src/java/org/apache/log/format/PatternFormatter.java
  
  Index: PatternFormatter.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-avalon-logkit/src/java/org/apache/log/format/PatternFormatter.java,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- PatternFormatter.java     17 Sep 2002 12:32:37 -0000      1.32
  +++ PatternFormatter.java     8 Nov 2002 01:49:52 -0000       1.33
  @@ -511,7 +511,7 @@
       /**
        * Utility method to format context.
        *
  -     * @param context the context string
  +     * @param stack the context stack
        * @param format ancilliary format parameter - allowed to be null
        * @return the formatted string
        * @deprecated Use getContextStack rather than this method
  @@ -524,7 +524,7 @@
       /**
        * Utility method to format context.
        *
  -     * @param context the context string
  +     * @param stack the context stack
        * @param format ancilliary format parameter - allowed to be null
        * @return the formatted string
        */
  @@ -622,19 +622,33 @@
       protected int getTypeIdFor( final String type )
       {
           if( type.equalsIgnoreCase( TYPE_CATEGORY_STR ) )
  +        {
               return TYPE_CATEGORY;
  +        }
           else if( type.equalsIgnoreCase( TYPE_CONTEXT_STR ) )
  +        {
               return TYPE_CONTEXT;
  +        }
           else if( type.equalsIgnoreCase( TYPE_MESSAGE_STR ) )
  +        {
               return TYPE_MESSAGE;
  +        }
           else if( type.equalsIgnoreCase( TYPE_PRIORITY_STR ) )
  +        {
               return TYPE_PRIORITY;
  +        }
           else if( type.equalsIgnoreCase( TYPE_TIME_STR ) )
  +        {
               return TYPE_TIME;
  +        }
           else if( type.equalsIgnoreCase( TYPE_RELATIVE_TIME_STR ) )
  +        {
               return TYPE_RELATIVE_TIME;
  +        }
           else if( type.equalsIgnoreCase( TYPE_THREAD_STR ) )
  +        {
               return TYPE_THREAD;
  +        }
           else if( type.equalsIgnoreCase( TYPE_THROWABLE_STR ) )
           {
               return TYPE_THROWABLE;
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@;jakarta.apache.org>

Reply via email to