aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/Delivery.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/Delivery.java b/datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/Delivery.java
index 59318563..0326fb08 100644
--- a/datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/Delivery.java
+++ b/datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/Delivery.java
@@ -160,7 +160,7 @@ public class Delivery {
if (sxdir.startsWith(".")) {
continue;
}
- File sxf = new File(sxbase + "/" + sxdir);
+ File sxf = new File(sxbase + File.separator + sxdir);
for (String sdir : sxf.list()) {
if (!sdir.startsWith(".")) {
cleardir(sxbase + "/" + sxdir + "/" + sdir);