Loading src/main/java/it/inaf/ia2/transfer/controller/PutFileController.java +2 −6 Original line number Diff line number Diff line Loading @@ -124,9 +124,7 @@ public class PutFileController extends FileController { } try { if (jobId != null) { fileDAO.setBusy(fileInfo.getNodeId(), true); } Files.copy(is, file.toPath()); if (fileInfo.getContentType() == null) { Loading @@ -151,11 +149,9 @@ public class PutFileController extends FileController { } throw ex; } finally { if (jobId != null) { fileDAO.setBusy(fileInfo.getNodeId(), false); } } } /** * Handles duplicate file uploads generating a new non existent path. This Loading Loading
src/main/java/it/inaf/ia2/transfer/controller/PutFileController.java +2 −6 Original line number Diff line number Diff line Loading @@ -124,9 +124,7 @@ public class PutFileController extends FileController { } try { if (jobId != null) { fileDAO.setBusy(fileInfo.getNodeId(), true); } Files.copy(is, file.toPath()); if (fileInfo.getContentType() == null) { Loading @@ -151,11 +149,9 @@ public class PutFileController extends FileController { } throw ex; } finally { if (jobId != null) { fileDAO.setBusy(fileInfo.getNodeId(), false); } } } /** * Handles duplicate file uploads generating a new non existent path. This Loading