portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From morci...@apache.org
Subject cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/util/file MergeFiles.java
Date Wed, 07 May 2003 15:34:56 GMT
morciuch    2003/05/07 08:34:56

  Modified:    src/java/org/apache/jetspeed/util/file MergeFiles.java
  Log:
  A slightly better solution to this JDK dependency issue
  
  Revision  Changes    Path
  1.3       +3 -4      jakarta-jetspeed/src/java/org/apache/jetspeed/util/file/MergeFiles.java
  
  Index: MergeFiles.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/util/file/MergeFiles.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- MergeFiles.java	7 May 2003 15:26:04 -0000	1.2
  +++ MergeFiles.java	7 May 2003 15:34:56 -0000	1.3
  @@ -188,9 +188,8 @@
           }
           catch (FileNotFoundException ex)
           {
  -            //File file = new File(dest_file);
  -            //writer = new FileOutputStream(file, false);
  -            throw ex;
  +            File file = new File(dest_file);
  +            writer = new FileOutputStream(file.getPath(), false);
           }
           writer.flush();
           for (int i = 0; i < baseArray.size(); i++)
  
  
  

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


Mime
View raw message