diff --git a/pom.xml b/pom.xml index ddaa4a1..e5d6d68 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ org.ndgf dcache-endit-provider - 1.0.3 + 1.0.4 jar dCache Endit provider @@ -67,6 +67,9 @@ 1.7 1.7 + + -Xlint:deprecation + diff --git a/src/main/java/org/ndgf/endit/AbstractEnditNearlineStorage.java b/src/main/java/org/ndgf/endit/AbstractEnditNearlineStorage.java index ce0b24a..9a3b875 100644 --- a/src/main/java/org/ndgf/endit/AbstractEnditNearlineStorage.java +++ b/src/main/java/org/ndgf/endit/AbstractEnditNearlineStorage.java @@ -93,7 +93,8 @@ public synchronized void configure(Map properties) throws Illega Files.deleteIfExists(requestFile); } } catch (IOException e) { - Throwables.propagate(e); + new RuntimeException(e); + // Throwables.propagate(e); } this.requestDir = requestDir;