avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Suprun <asup...@tucows.com>
Subject [LogKit] ExtendedPatternFormatter bug
Date Thu, 23 Aug 2001 20:54:46 GMT
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 );
            . . .
    
-- 
Best regards,
 Andrew                            mailto:asuprun@tucows.com



---------------------------------------------------------------------
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