ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse Glick <typr...@gmail.com>
Subject 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
Date Wed, 06 Mar 2013 01:34:09 GMT
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


Mime
View raw message