diff options
author | JosephKeenan <joseph.keenan@est.tech> | 2021-05-19 15:04:15 +0100 |
---|---|---|
committer | Rishi Chail <rishi.chail@est.tech> | 2021-05-21 09:52:21 +0000 |
commit | bd7d525eb93302682bf61269f098c5270e97e780 (patch) | |
tree | c9eecc0ee7c9f5991b113f3af60983a455c04b68 /cps-ri/src/main | |
parent | b42a3ced30877da19ce205c66539e4a286ccd458 (diff) |
Update SonarQube Code Smell
Issue-ID: CPS-89
Change-Id: I3a3e34b41ed98a0ab2c1accd438e2ec1d4a8d1cf
Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
Diffstat (limited to 'cps-ri/src/main')
-rw-r--r-- | cps-ri/src/main/java/org/onap/cps/spi/query/CpsPathQuery.java | 2 |
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); |