Browse Source

whitespace changes

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274947 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 22 years ago
parent
commit
084ff1eb97
1 changed files with 10 additions and 10 deletions
  1. +10
    -10
      src/main/org/apache/tools/ant/input/DefaultInputHandler.java

+ 10
- 10
src/main/org/apache/tools/ant/input/DefaultInputHandler.java View File

@@ -86,16 +86,16 @@ public class DefaultInputHandler implements InputHandler {
try { try {
in = in =
new DataInputStream(new KeepAliveInputStream(getInputStream())); new DataInputStream(new KeepAliveInputStream(getInputStream()));
do {
System.err.println(prompt);
try {
String input = in.readLine();
request.setInput(input);
} catch (IOException e) {
throw new BuildException("Failed to read input from Console.",
e);
}
} while (!request.isInputValid());
do {
System.err.println(prompt);
try {
String input = in.readLine();
request.setInput(input);
} catch (IOException e) {
throw new BuildException("Failed to read input from"
+ " Console.", e);
}
} while (!request.isInputValid());
} finally { } finally {
if (in != null) { if (in != null) {
try { try {


Loading…
Cancel
Save