updated libraries
This commit is contained in:
@ -87,7 +87,7 @@ public abstract class FileUtil {
|
||||
}
|
||||
|
||||
/**
|
||||
* copies the givn source file to the given destination filename
|
||||
* copies the given source file to the given destination filename
|
||||
*
|
||||
* @param source the file to copy from
|
||||
* @param destination the destination filename to copy the source file to
|
||||
@ -95,6 +95,7 @@ public abstract class FileUtil {
|
||||
*
|
||||
* @deprecated use Files.copy instead
|
||||
*/
|
||||
@Deprecated
|
||||
public static boolean copyFileTo(File source, File destination) {
|
||||
try (FileInputStream fis = new FileInputStream(source);
|
||||
FileOutputStream fos = new FileOutputStream(destination)) {
|
||||
|
||||
Reference in New Issue
Block a user