git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271593 13f79535-47bb-0310-9956-ffa450edef68master
| @@ -157,7 +157,6 @@ public final class LineContains | |||||
| for (int i = 0; i < containsSize; i++) { | for (int i = 0; i < containsSize; i++) { | ||||
| String containsStr = (String) contains.elementAt(i); | String containsStr = (String) contains.elementAt(i); | ||||
| if (line.indexOf(containsStr) == -1) { | if (line.indexOf(containsStr) == -1) { | ||||
| System.out.println("Hello"); | |||||
| line = null; | line = null; | ||||
| break; | break; | ||||
| } | } | ||||
| @@ -127,12 +127,15 @@ public final class PrefixLines | |||||
| int ch = -1; | int ch = -1; | ||||
| if (queuedData != null && queuedData.length() == 0) { | |||||
| queuedData = null; | |||||
| } | |||||
| if (queuedData != null) { | if (queuedData != null) { | ||||
| ch = queuedData.charAt(0); | |||||
| queuedData = queuedData.substring(1); | |||||
| if (queuedData.length() == 0) { | if (queuedData.length() == 0) { | ||||
| queuedData = null; | queuedData = null; | ||||
| } else { | |||||
| ch = queuedData.charAt(0); | |||||
| queuedData = queuedData.substring(1); | |||||
| } | } | ||||
| } else { | } else { | ||||
| ch = in.read(); | ch = in.read(); | ||||