summaryrefslogtreecommitdiffstats
path: root/datarouter-node/src/main/java/org
diff options
context:
space:
mode:
authorRam Koya <rk541m@att.com>2018-08-28 12:59:39 +0000
committerGerrit Code Review <gerrit@onap.org>2018-08-28 12:59:39 +0000
commit9f958d97f639fcafcbc3924a9dd2a666f1b55310 (patch)
treec381f617ca18c427e49524a580602582861c826d /datarouter-node/src/main/java/org
parent8a42c1bc635447ace8465d13c4e0865396e56698 (diff)
parent7d609c2070c2ad69e95711fbb50b88d8db05e3ba (diff)
Merge "Add Unit Tests for NodeUtils and StatusLog"
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)});
}
/**