This commit is contained in:
Coleen Phillimore 2019-12-10 08:12:29 -05:00
commit 28099d76b2

@ -121,10 +121,7 @@ public class IOUtils {
try (FileChannel source = new FileInputStream(sourceFile).getChannel();
FileChannel destination =
new FileOutputStream(destFile).getChannel()) {
if (destination != null && source != null) {
destination.transferFrom(source, 0, source.size());
}
destination.transferFrom(source, 0, source.size());
}
//preserve executable bit!