summaryrefslogtreecommitdiffstats
path: root/datarouter-node
diff options
context:
space:
mode:
authorseanfos <sean.osullivan@est.tech>2021-03-15 02:22:59 -0700
committerSean O'Sullivan <sean.osullivan@est.tech>2021-03-15 10:01:09 +0000
commitcc401cb0904e5fd022f082c3b056d70902bf498c (patch)
tree1236afe6c6a48aebac8245a22d108cb5d821cf05 /datarouter-node
parenta4c361637f3cf19b1c5fd4bdc55e40645e34505b (diff)
Sonar code smell fix.
Small change to Test ONAP push-upstream Signed-off-by: seanfos <sean.osullivan@est.tech> Change-Id: I3a0cda88b83cce990b729523856a1e083b2189b1 Issue-ID: DMAAP-1564
Diffstat (limited to 'datarouter-node')
-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);