avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: [LogKit] ExtendedPatternFormatter bug
Date Thu, 23 Aug 2001 23:08:40 GMT
Hi,

Already fixed in CVS ;) Thanks anyway.

On Fri, 24 Aug 2001 06:54, Andrew Suprun wrote:
> Hi guys,
>   There is a bug in getTypeIdFor method of ExtendedPatternFormatter
> class:
>
>     protected int getTypeIdFor( final String type )
>     {
>         if( type.equalsIgnoreCase( TYPE_METHOD_STR ) ) return TYPE_METHOD;
>         else if( type.equalsIgnoreCase( TYPE_THREAD_STR ) ) return
> TYPE_THREAD; else
>         {
>             return getTypeIdFor( type );
>     //      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>         }
>     }
>
>   This probably should be something like:
>
>             . . .
>             return super.getTypeIdFor( type );
>             . . .

-- 
Cheers,

Pete

*-----------------------------------------------------*
* "Faced with the choice between changing one's mind, *
* and proving that there is no need to do so - almost *
* everyone gets busy on the proof."                   *
*              - John Kenneth Galbraith               *
*-----------------------------------------------------*

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


Mime
View raw message