Permalink
Browse files

Don't insist on atomic move

Fixes #5
  • Loading branch information...
arrdem committed Mar 15, 2016
1 parent b87acc8 commit 0814c115aa0e72b9434b4258da4092504db1fa65
Showing with 1 addition and 2 deletions.
  1. +1 −2 client/src/inlein/client/Utils.java
@@ -30,8 +30,7 @@ public static void downloadFile(String url, Path p) throws Exception {
}
}
p.toFile().getCanonicalFile().getParentFile().mkdirs();
Files.move(tmp, p, StandardCopyOption.ATOMIC_MOVE,
StandardCopyOption.REPLACE_EXISTING);
Files.move(tmp, p, StandardCopyOption.REPLACE_EXISTING);
}

/**

0 comments on commit 0814c11

Please sign in to comment.