You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by vm...@apache.org on 2002/01/10 20:56:07 UTC

cvs commit: jakarta-cactus/src/ant/org/apache/cactus/ant ChangeLogTask.java

vmassol     02/01/10 11:56:07

  Modified:    src/ant/org/apache/cactus/ant ChangeLogTask.java
  Log:
  now it compiles on JDK 1.2. Thanks to Balki.
  
  Revision  Changes    Path
  1.8       +5 -2      jakarta-cactus/src/ant/org/apache/cactus/ant/ChangeLogTask.java
  
  Index: ChangeLogTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/src/ant/org/apache/cactus/ant/ChangeLogTask.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- ChangeLogTask.java	14 Sep 2001 20:09:47 -0000	1.7
  +++ ChangeLogTask.java	10 Jan 2002 19:56:07 -0000	1.8
  @@ -72,7 +72,7 @@
    * @author <a href="mailto:jeff.martin@synamic.co.uk">Jeff Martin</a>
    * @author <a href="mailto:vmassol@apache.org">Vincent Massol</a>
    *
  - * @version $Id: ChangeLogTask.java,v 1.7 2001/09/14 20:09:47 pier Exp $
  + * @version $Id: ChangeLogTask.java,v 1.8 2002/01/10 19:56:07 vmassol Exp $
    */
   public class ChangeLogTask extends Task implements ExecuteStreamHandler
   {
  @@ -280,9 +280,12 @@
        * dumped to this debug file.
        *
        * @param theDebugFile the name of the debug file to use.
  +     *
  +     * @exception IOException for backward compatibility with JDK 1.2.2 (not
  +     *            needed for JDK 1.3+)
        */
       public void setDebug(File theDebugFile)
  -        throws FileNotFoundException, UnsupportedEncodingException
  +        throws FileNotFoundException, UnsupportedEncodingException, IOException
       {
           this.debug = new PrintWriter(new OutputStreamWriter(
               new FileOutputStream(theDebugFile),"UTF-8"), true);
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>