summaryrefslogtreecommitdiffstats
path: root/datarouter-node/src/main/java/org
diff options
context:
space:
mode:
authoreconwar <conor.ward@ericsson.com>2018-08-27 13:07:22 +0000
committerConor Ward <conor.ward@ericsson.com>2018-08-27 14:52:31 +0000
commit7d609c2070c2ad69e95711fbb50b88d8db05e3ba (patch)
treed9c7fbb108efdd12829472fc7d06ecb7607dd905 /datarouter-node/src/main/java/org
parent82882d01690cff6f78ea0a606ed6a68f9a65aa4d (diff)
Add Unit Tests for NodeUtils and StatusLog
Change-Id: I694f6604d58078da10141fe4f15cba04f8226efc Signed-off-by: Conor Ward <conor.ward@ericsson.com> Issue-ID: DMAAP-101
Diffstat (limited to 'datarouter-node/src/main/java/org')
-rw-r--r--datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/NodeUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/NodeUtils.java b/datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/NodeUtils.java
index 230afd4c..375a38e3 100644
--- a/datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/NodeUtils.java
+++ b/datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/NodeUtils.java
@@ -198,7 +198,7 @@ public class NodeUtils {
if (i == -1) {
return (null);
}
- return (new String[]{uriandparams.substring(i + 1, end - 1), uriandparams.substring(end + 1)});
+ return (new String[]{uriandparams.substring(i + 1, end), uriandparams.substring(end + 1)});
}
/**