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:[EMAIL PROTECTED]";>Jeff Martin</a>
    * @author <a href="mailto:[EMAIL PROTECTED]";>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:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to