[OOM-CPMv2] Fix sonar issue 04/112804/1
authortkogut <tomasz.kogut@nokia.com>
Thu, 17 Sep 2020 08:47:37 +0000 (10:47 +0200)
committertkogut <tomasz.kogut@nokia.com>
Thu, 17 Sep 2020 08:47:37 +0000 (10:47 +0200)
Remove unnecessary 'public' modifiers

Issue-ID: OOM-2526
Signed-off-by: tkogut <tomasz.kogut@nokia.com>
Change-Id: I94a67899ea1e1c4e207234206b94273b4dbf27b6

certServiceClient/src/test/java/org/onap/oom/certservice/client/configuration/EnvsForCsrTest.java

index ade13f7..9212269 100644 (file)
@@ -99,7 +99,7 @@ class EnvsForCsrTest {
     }
 
     @Test
-    public void shouldReportThatSystemEnvOuVariableIsNotPresentWhenItWasNotDefined() {
+    void shouldReportThatSystemEnvOuVariableIsNotPresentWhenItWasNotDefined() {
         // when
         final Optional<String> testEnv = envsForCsr.getOrganizationUnit();
 
@@ -191,7 +191,7 @@ class EnvsForCsrTest {
     }
 
     @Test
-    public void shouldReportThatSystemEnvSansVariableIsNotPresentWhenItWasNotDefined() {
+    void shouldReportThatSystemEnvSansVariableIsNotPresentWhenItWasNotDefined() {
         // when
         final Optional<String> testEnv = envsForCsr.getSubjectAlternativesName();