At 08:56 07.08.2001 -0400, Sam Ruby wrote:
>Ceki G�lc� wrote:
>>
>> just added the category.assertLog method. Please rename assert to assetLog
>> in the failing method invocation.
>
>Chances are good that the developers of httpclient would like to remain
>compatible with released versions of jakarta-log4j.  The following line of
>code will have the desired effect with both present and future versions of
>Jakarta-log4j:
>
>   if (!assertion) _category.error(msg);
>
>In the specific case of httpclient, however, it still appears to me that
>the correct fix is to simply remove all "assert" methods as they do not
>appear to be used.

Yep, no arguing about the compatibility issue. Your suggested 

  if (!assertion) _category.error(msg);

seems to be the most headache free approach. 


--
Ceki G�lc� - http://qos.ch

Reply via email to