peterreilly    2005/01/28 02:11:16

  Modified:    src/main/org/apache/tools/ant/taskdefs Java.java
  Log:
  checkstyle
  
  Revision  Changes    Path
  1.98      +4 -3      ant/src/main/org/apache/tools/ant/taskdefs/Java.java
  
  Index: Java.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/Java.java,v
  retrieving revision 1.97
  retrieving revision 1.98
  diff -u -r1.97 -r1.98
  --- Java.java 27 Jan 2005 16:36:11 -0000      1.97
  +++ Java.java 28 Jan 2005 10:11:16 -0000      1.98
  @@ -157,7 +157,7 @@
                   log("bootclasspath ignored when same JVM is used.",
                       Project.MSG_WARN);
               }
  -            if (perm == null && failOnError == true) {
  +            if (perm == null && failOnError) {
                   perm = new Permissions(true);
                   log("running " + this.cmdl.getClassname()
                       + " with default permissions (exit forbidden)", 
Project.MSG_VERBOSE);
  @@ -309,7 +309,7 @@
        * a bootclaspath.
        *
        * <p>Doesn't have any effect unless fork is true.</p>
  -     *
  +     * @param cloneVm if true copy system properties.
        * @since Ant 1.7
        */
       public void setCloneVm(boolean cloneVm) {
  @@ -702,7 +702,8 @@
           }
           if (!spawn && input == null && inputString == null) {
               // #24918: send standard input to the process by default.
  -            redirector.setInputStream(new 
KeepAliveInputStream(getProject().getDefaultInputStream()));
  +            redirector.setInputStream(
  +                new 
KeepAliveInputStream(getProject().getDefaultInputStream()));
           }
       }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to