See http://java.sun.com/j2se/1.4/docs/guide/lang/assert.html

One impact of this is that methods named "assert" will be flagged as a
compilation error.  The jakarta-log4j project simply chose to remove such a
method.  I see that such a method is defined by httpclient - but I see no
real usages.  So one fix might be to simply remove the method.  Another
would be to replace the call to log4j's assert with the following:

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

- Sam Ruby

Reply via email to