Skip to content

Commit

Permalink
Don't use StandardCopyOption.COPY_ATTRIBUTES to copy InputStream
Browse files Browse the repository at this point in the history
  • Loading branch information
opaetzel committed Aug 30, 2018
1 parent 9ef2071 commit 2c42756
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Goobi/src/de/sub/goobi/helper/NIOFileUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ public void createFile(Path path) throws IOException {

@Override
public void uploadFile(InputStream in, Path dest) throws IOException {
Files.copy(in, dest, STANDARD_COPY_OPTIONS);
Files.copy(in, dest, StandardCopyOption.REPLACE_EXISTING);
}

@Override
Expand Down

0 comments on commit 2c42756

Please sign in to comment.