summaryrefslogtreecommitdiffstats
path: root/cps-ri/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'cps-ri/src/main')
-rw-r--r--cps-ri/src/main/java/org/onap/cps/spi/query/CpsPathQuery.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/cps-ri/src/main/java/org/onap/cps/spi/query/CpsPathQuery.java b/cps-ri/src/main/java/org/onap/cps/spi/query/CpsPathQuery.java
index 554ec45ed6..b27301baec 100644
--- a/cps-ri/src/main/java/org/onap/cps/spi/query/CpsPathQuery.java
+++ b/cps-ri/src/main/java/org/onap/cps/spi/query/CpsPathQuery.java
@@ -77,7 +77,7 @@ public class CpsPathQuery {
*/
public static CpsPathQuery createFrom(final String cpsPathSource) {
var cpsPath = cpsPathSource;
- final CpsPathQuery cpsPathQuery = new CpsPathQuery();
+ final var cpsPathQuery = new CpsPathQuery();
var matcher = ANCESTOR_AXIS_PATTERN.matcher(cpsPath);
if (matcher.matches()) {
cpsPath = matcher.group(1);