Skip to content

Commit 6295f65

Browse files
author
Stephen Colebourne
committed
IO-104 - Add release notes for copyFileToDirectory(File, File, boolean)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/io/trunk@490831 13f79535-47bb-0310-9956-ffa450edef68
1 parent d6f6b4e commit 6295f65

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

RELEASE-NOTES.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@ Enhancements from 1.2
109109
- FileUtils.checksum, FileUtils.checksumCRC32
110110
- add methods to create a checksum of a file
111111

112+
- FileUtils.copyFileToDirectory [IO-104]
113+
- add variant that optionally retains the file date
114+
112115
- FileDeleteStrategy
113116
- FileCleaner [IO-56,IO-70]
114117
- FileDeleteStrategy is a strategy for handling file deletion

src/java/org/apache/commons/io/FileUtils.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,7 @@ public static void copyFileToDirectory(File srcFile, File destDir) throws IOExce
500500
* @throws IOException if source or destination is invalid
501501
* @throws IOException if an IO error occurs during copying
502502
* @see #copyFile(File, File, boolean)
503+
* @since Commons IO 1.3
503504
*/
504505
public static void copyFileToDirectory(File srcFile, File destDir, boolean preserveFileDate) throws IOException {
505506
if (destDir == null) {

0 commit comments

Comments
 (0)