You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Jesse Glick <ty...@gmail.com> on 2013/03/06 02:34:09 UTC

Re: svn commit: r1453118 - in /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/junit: BriefJUnitResultFormatter.java PlainJUnitResultFormatter.java TestListenerWrapper.java XMLJUnitResultFormatter.java

On 03/05/2013 08:29 PM, jglick@apache.org wrote:
> -            if (annotation != null && annotation.value() != null && !annotation.value().isEmpty()) {
> +            if (annotation != null && annotation.value().length() > 0) {

(And yes removing the null check was intentional—annotation values are never null.)

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