summaryrefslogtreecommitdiffstats
path: root/models-tosca/src
diff options
context:
space:
mode:
authoradheli.tavares <adheli.tavares@est.tech>2023-09-28 18:26:22 +0100
committeradheli.tavares <adheli.tavares@est.tech>2023-09-29 14:44:49 +0100
commit865100d2bbaafac77f1d9e637bca81adc03c4c44 (patch)
tree2aeafd442bf49dd31bd682acbe6f70b3b0dd9bc6 /models-tosca/src
parent938005505883cf7a636a8840e20e3dc8a0ad9176 (diff)
Fix nexus and sonar vulnerabilities
- IQ nexus dependencies - sonar hotspots and code smells Issue-ID: POLICY-4760 Change-Id: Ic4260c568f9d9164a33aacb34a5ff3a6f91b1bd8 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Diffstat (limited to 'models-tosca/src')
-rw-r--r--models-tosca/src/test/java/org/onap/policy/models/tosca/authorative/provider/AuthorativeToscaProviderNodeTemplateTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/models-tosca/src/test/java/org/onap/policy/models/tosca/authorative/provider/AuthorativeToscaProviderNodeTemplateTest.java b/models-tosca/src/test/java/org/onap/policy/models/tosca/authorative/provider/AuthorativeToscaProviderNodeTemplateTest.java
index 64c164796..d47e194eb 100644
--- a/models-tosca/src/test/java/org/onap/policy/models/tosca/authorative/provider/AuthorativeToscaProviderNodeTemplateTest.java
+++ b/models-tosca/src/test/java/org/onap/policy/models/tosca/authorative/provider/AuthorativeToscaProviderNodeTemplateTest.java
@@ -63,8 +63,8 @@ public class AuthorativeToscaProviderNodeTemplateTest {
private static ToscaServiceTemplate createToscaNodeTemplate;
private PfDao pfDao;
private StandardCoder standardCoder;
- private AuthorativeToscaProvider authorativeToscaProvider = new AuthorativeToscaProvider();
- private YamlJsonTranslator yamlJsonTranslator = new YamlJsonTranslator();
+ private final AuthorativeToscaProvider authorativeToscaProvider = new AuthorativeToscaProvider();
+ private final YamlJsonTranslator yamlJsonTranslator = new YamlJsonTranslator();
/**
* Read policy metadataSet input json.
@@ -230,7 +230,7 @@ public class AuthorativeToscaProviderNodeTemplateTest {
}
@Test
- public void testToscaNodeTemplatetDelete() throws Exception {
+ public void testToscaNodeTemplateDelete() throws Exception {
assertThatThrownBy(() -> {
authorativeToscaProvider.deleteToscaNodeTemplate(null, null, null);
}).hasMessageMatching(DAO_IS_NULL);