From ea2425bb3a07711c6a6a66dcede24e199a788bf5 Mon Sep 17 00:00:00 2001 From: Taka Cho Date: Fri, 19 Jun 2020 14:55:44 -0400 Subject: Changes for Checkstyle 8.32 Issue-ID: POLICY-2188 Change-Id: I64a115240a71e5014db9cfb66747887e156afb50 Signed-off-by: Taka Cho --- .../policy/xacml/pdp/application/guard/GuardTranslatorTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'applications/guard/src/test') diff --git a/applications/guard/src/test/java/org/onap/policy/xacml/pdp/application/guard/GuardTranslatorTest.java b/applications/guard/src/test/java/org/onap/policy/xacml/pdp/application/guard/GuardTranslatorTest.java index d5dd16bf..6f7edac4 100644 --- a/applications/guard/src/test/java/org/onap/policy/xacml/pdp/application/guard/GuardTranslatorTest.java +++ b/applications/guard/src/test/java/org/onap/policy/xacml/pdp/application/guard/GuardTranslatorTest.java @@ -260,8 +260,8 @@ public class GuardTranslatorTest { if (! (rule instanceof RuleType)) { continue; } - assertThat(((RuleType)rule).getCondition()).isNotNull(); - assertThat(((RuleType)rule).getCondition().getExpression()).isNotNull(); + assertThat(((RuleType) rule).getCondition()).isNotNull(); + assertThat(((RuleType) rule).getCondition().getExpression()).isNotNull(); } } @@ -272,7 +272,7 @@ public class GuardTranslatorTest { if (! (rule instanceof RuleType)) { continue; } - for (AnyOfType anyOf : ((RuleType)rule).getTarget().getAnyOf()) { + for (AnyOfType anyOf : ((RuleType) rule).getTarget().getAnyOf()) { assertThat(anyOf.getAllOf()).isNotEmpty(); for (AllOfType allOf : anyOf.getAllOf()) { assertThat(allOf.getMatch()).isNotEmpty(); @@ -302,7 +302,7 @@ public class GuardTranslatorTest { } assertThat(((RuleType) rule).getTarget()).isNotNull(); assertThat(((RuleType) rule).getTarget().getAnyOf()).hasSize(1); - for (AnyOfType anyOf : ((RuleType)rule).getTarget().getAnyOf()) { + for (AnyOfType anyOf : ((RuleType) rule).getTarget().getAnyOf()) { assertThat(anyOf.getAllOf()).isNotEmpty(); for (AllOfType allOf : anyOf.getAllOf()) { assertThat(allOf.getMatch()).isNotEmpty(); -- cgit 1.2.3-korg