diff options
author | leventecsanyi <levente.csanyi@est.tech> | 2022-12-08 14:49:29 +0100 |
---|---|---|
committer | leventecsanyi <levente.csanyi@est.tech> | 2022-12-12 11:13:22 +0100 |
commit | a4f4215c435414360f281b625705595be9367ace (patch) | |
tree | 8c1a196844e4149b5809580f747e0f4ca5cddf56 /cps-service/src/test | |
parent | aa29f24b0da9b9d2c86a0c528357a17ff3d7a871 (diff) |
Fixing SonarQube violations
- Code smell fixes
Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
Issue-ID: CPS-475
Change-Id: I4b47ece82aed7e4b31aaa28e601e419fb6f06718
Diffstat (limited to 'cps-service/src/test')
-rw-r--r-- | cps-service/src/test/groovy/org/onap/cps/spi/model/DataNodeBuilderSpec.groovy | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cps-service/src/test/groovy/org/onap/cps/spi/model/DataNodeBuilderSpec.groovy b/cps-service/src/test/groovy/org/onap/cps/spi/model/DataNodeBuilderSpec.groovy index fcfb4826d9..a775cbe43f 100644 --- a/cps-service/src/test/groovy/org/onap/cps/spi/model/DataNodeBuilderSpec.groovy +++ b/cps-service/src/test/groovy/org/onap/cps/spi/model/DataNodeBuilderSpec.groovy @@ -32,7 +32,7 @@ import spock.lang.Specification class DataNodeBuilderSpec extends Specification { - Map<String, Map<String, Object>> expectedLeavesByXpathMap = [ + Map<String, Map<String, Serializable>> expectedLeavesByXpathMap = [ '/test-tree' : [], '/test-tree/branch[@name=\'Left\']' : [name: 'Left'], '/test-tree/branch[@name=\'Left\']/nest' : [name: 'Small', birds: ['Sparrow', 'Robin', 'Finch']], |