diff options
author | liamfallon <liam.fallon@est.tech> | 2020-06-18 13:49:01 +0100 |
---|---|---|
committer | liamfallon <liam.fallon@est.tech> | 2020-06-18 14:11:15 +0100 |
commit | 50d72892e98753fd012aff00c2d42979dce9653e (patch) | |
tree | 45c43f2a4d7a9bbdc2dda4dc0298dedee6afb1a6 /common-parameters/src/test/java/org/onap | |
parent | 611f63a4bb71d677cf2665b1794e91148ba42a51 (diff) |
Changes for checkstyle 8.32
Issue-ID: POLICY-2188
Change-Id: I00843c61a6567001fc35c3ebb77b6843a1eb7da2
Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'common-parameters/src/test/java/org/onap')
2 files changed, 2 insertions, 3 deletions
diff --git a/common-parameters/src/test/java/org/onap/policy/common/parameters/TestBeanValidationResult.java b/common-parameters/src/test/java/org/onap/policy/common/parameters/TestBeanValidationResult.java index 8f978c69..8795602a 100644 --- a/common-parameters/src/test/java/org/onap/policy/common/parameters/TestBeanValidationResult.java +++ b/common-parameters/src/test/java/org/onap/policy/common/parameters/TestBeanValidationResult.java @@ -160,7 +160,7 @@ public class TestBeanValidationResult { @Test public void testValidateMap() { - Map<String,ValidationResult> map = null; + Map<String, ValidationResult> map = null; bean = new BeanValidationResult(NAME, OBJECT); assertTrue(bean.validateMap(MY_MAP, map, validMapEntry())); assertTrue(bean.isValid()); diff --git a/common-parameters/src/test/java/org/onap/policy/common/parameters/testclasses/TestParametersL10.java b/common-parameters/src/test/java/org/onap/policy/common/parameters/testclasses/TestParametersL10.java index 7276b504..bd2cf101 100644 --- a/common-parameters/src/test/java/org/onap/policy/common/parameters/testclasses/TestParametersL10.java +++ b/common-parameters/src/test/java/org/onap/policy/common/parameters/testclasses/TestParametersL10.java @@ -109,8 +109,7 @@ public class TestParametersL10 extends ParameterGroupImpl { public void triggerValidationStatus(final ValidationStatus triggerStatus, int level) { if (level == 0) { return; - } - else { + } else { level--; } |