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/taskdefs/optional/junit JUnitTask.java
Date Tue, 20 Apr 2004 06:52:48 GMT
bodewig     2004/04/19 23:52:48

  Modified:    src/main/org/apache/tools/ant/taskdefs Java.java
               src/main/org/apache/tools/ant/taskdefs/optional/junit
                        JUnitTask.java
  Log:
  Minor formatting changes
  
  Revision  Changes    Path
  1.91      +1 -1      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.90
  retrieving revision 1.91
  diff -u -r1.90 -r1.91
  --- Java.java	29 Mar 2004 17:02:13 -0000	1.90
  +++ Java.java	20 Apr 2004 06:52:48 -0000	1.91
  @@ -578,7 +578,7 @@
        */
       public void setTimeout(Long value) {
           timeout = value;
  -        incompatibleWithSpawn |= timeout!=null;
  +        incompatibleWithSpawn |= timeout != null;
       }
   
       /**
  
  
  
  1.98      +6 -6      ant/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java
  
  Index: JUnitTask.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java,v
  retrieving revision 1.97
  retrieving revision 1.98
  diff -u -r1.97 -r1.98
  --- JUnitTask.java	19 Apr 2004 14:25:43 -0000	1.97
  +++ JUnitTask.java	20 Apr 2004 06:52:48 -0000	1.98
  @@ -608,10 +608,10 @@
        * @since Ant 1.6
        */
       public void setTempdir(File tmpDir) {
  -        if(tmpDir!=null) {
  -            if(!tmpDir.exists() || !tmpDir.isDirectory()) {
  +        if (tmpDir!=null) {
  +            if (!tmpDir.exists() || !tmpDir.isDirectory()) {
                   throw new BuildException(tmpDir.toString()
  -                        +" is not a valid temp directory");
  +                                         +" is not a valid temp directory");
               }
           }
           this.tmpDir = tmpDir;
  @@ -1094,7 +1094,7 @@
           if (timeout == null) {
               return null;
           }
  -        return new ExecuteWatchdog((long)timeout.intValue());
  +        return new ExecuteWatchdog((long) timeout.intValue());
       }
   
       /**
  @@ -1331,7 +1331,7 @@
            * configure from a test; sets member variables to attributes of the test
            * @param test
            */
  -        public ForkedTestConfiguration(JUnitTest test) {
  +        ForkedTestConfiguration(JUnitTest test) {
               this(test.getFiltertrace(),
                       test.getHaltonerror(),
                       test.getHaltonfailure(),
  
  
  

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


Mime
View raw message