diff --git a/pom.xml b/pom.xml index 537810fc606a6274226e341fc7aae08f9feb849c..994cdaaa6de2e8e80853e11e61ac8543a30555fe 100644 --- a/pom.xml +++ b/pom.xml @@ -71,14 +71,6 @@ <groupId>it.oats.inaf</groupId> <artifactId>vospace-datamodel</artifactId> <version>1.0-SNAPSHOT</version> - <exclusions> - <!-- Transitive dependency excluded to avoid duplicated dependency issues. - We want to use always the version provided by Spring Boot --> - <exclusion> - <groupId>com.fasterxml.jackson.module</groupId> - <artifactId>jackson-module-jaxb-annotations</artifactId> - </exclusion> - </exclusions> </dependency> </dependencies> diff --git a/src/main/java/it/inaf/ia2/transfer/controller/PutFileController.java b/src/main/java/it/inaf/ia2/transfer/controller/PutFileController.java index fc5df487ae7e0457da0ee53bd208d83ea950bc59..1c9c8f6f18f9d05a124301cfb3588af00460cbb4 100644 --- a/src/main/java/it/inaf/ia2/transfer/controller/PutFileController.java +++ b/src/main/java/it/inaf/ia2/transfer/controller/PutFileController.java @@ -81,15 +81,6 @@ public class PutFileController extends FileController { } } - /* - private void storeFile(FileInfo fileInfo, InputStream is, String jobId) throws IOException { - - if (fileInfo.getAcceptViews() != null && fileInfo.getAcceptViews().contains("urn:list-of-files")) { - storeListOfFiles(fileInfo, is); - } else { - storeGenericFile(fileInfo, is, jobId); - } - }*/ private void storeListOfFiles(FileInfo fileInfo, InputStream is) throws IOException { List<String> filePaths = parseListOfFiles(is); listOfFilesDAO.createList(fileInfo.getVirtualPath(), filePaths);