Skip to content

Commit

Permalink
bugfix: Missing scheme (IllegalArgumentException) while using java.ni…
Browse files Browse the repository at this point in the history
…o.file.Paths interface
  • Loading branch information
donhui committed Aug 29, 2019
1 parent d591c80 commit e1370d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ private void cleanFiles(List<File> files) {
for (File file : files) {
if (file.exists() && file.isFile()) {
try {
Files.delete(Paths.get(new URI(file.getAbsolutePath())));
Files.delete(Paths.get(new URI("file:///" + file.getAbsolutePath())));
} catch (IOException | URISyntaxException e) {
LOGGER.warn(e.toString());
}
Expand Down

0 comments on commit e1370d4

Please sign in to comment.