ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
Subject svn commit: r572332 - /ant/core/trunk/src/main/org/apache/tools/ant/filters/ClassConstants.java
Date Mon, 03 Sep 2007 13:35:14 GMT
Author: peterreilly
Date: Mon Sep  3 06:35:13 2007
New Revision: 572332

URL: http://svn.apache.org/viewvc?rev=572332&view=rev
Log:
opps

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/filters/ClassConstants.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/filters/ClassConstants.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/filters/ClassConstants.java?rev=572332&r1=572331&r2=572332&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/filters/ClassConstants.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/filters/ClassConstants.java Mon Sep  3 06:35:13
2007
@@ -101,7 +101,7 @@
             }
         } else {
             final String clazz = readFully();
-            if (clazz == null && clazz.length() != 0) {
+            if (clazz == null || clazz.length() == 0) {
                 ch = -1;
             } else {
                 final byte[] bytes = clazz.getBytes("ISO-8859-1");



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


Mime
View raw message