ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/input DefaultInputHandler.java
Date Fri, 25 Jul 2003 09:11:50 GMT
bodewig     2003/07/25 02:11:50

  Modified:    src/main/org/apache/tools/ant/input DefaultInputHandler.java
  Log:
  whitespace changes
  
  Revision  Changes    Path
  1.10      +11 -11    ant/src/main/org/apache/tools/ant/input/DefaultInputHandler.java
  
  Index: DefaultInputHandler.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/input/DefaultInputHandler.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- DefaultInputHandler.java	25 Jul 2003 09:10:30 -0000	1.9
  +++ DefaultInputHandler.java	25 Jul 2003 09:11:50 -0000	1.10
  @@ -86,16 +86,16 @@
           try {
               in = 
                   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 {
               if (in != null) {
                   try {
  
  
  

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


Mime
View raw message