ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sbaill...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional XslpLiaison.java
Date Tue, 08 Jan 2002 19:54:29 GMT
sbailliez    02/01/08 11:54:29

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional
                        XslpLiaison.java
  Log:
  Fix bad coding style.
  then/else parts of if statement and loop body must always been enclosed
  in a block statement.
  
  Revision  Changes    Path
  1.10      +2 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/XslpLiaison.java
  
  Index: XslpLiaison.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/XslpLiaison.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- XslpLiaison.java	26 Nov 2001 18:10:45 -0000	1.9
  +++ XslpLiaison.java	8 Jan 2002 19:54:29 -0000	1.10
  @@ -105,8 +105,9 @@
       }
   
       public void setOutputtype(String type) throws Exception {
  -        if (!type.equals("xml")) 
  +        if (!type.equals("xml")) { 
               throw new BuildException("Unsupported output type: " + type);
  +        }
       }
   
   } //-- XSLPLiaison
  
  
  

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


Mime
View raw message