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 --- .../onap/policy/pdp/xacml/application/common/ToscaDictionaryTest.java | 3 +-- .../onap/policy/pdp/xacml/application/common/XacmlPolicyUtilsTest.java | 1 - .../xacml/application/common/matchable/MatchablePolicyTypeTest.java | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) (limited to 'applications/common/src/test') diff --git a/applications/common/src/test/java/org/onap/policy/pdp/xacml/application/common/ToscaDictionaryTest.java b/applications/common/src/test/java/org/onap/policy/pdp/xacml/application/common/ToscaDictionaryTest.java index b6a7ae20..251c9710 100644 --- a/applications/common/src/test/java/org/onap/policy/pdp/xacml/application/common/ToscaDictionaryTest.java +++ b/applications/common/src/test/java/org/onap/policy/pdp/xacml/application/common/ToscaDictionaryTest.java @@ -2,7 +2,7 @@ * ============LICENSE_START======================================================= * ONAP * ================================================================================ - * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved. + * Copyright (C) 2019-2020 AT&T Intellectual Property. All rights reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,7 +27,6 @@ import static org.junit.Assert.assertTrue; import java.lang.reflect.Constructor; import java.lang.reflect.Modifier; - import org.junit.Test; public class ToscaDictionaryTest { diff --git a/applications/common/src/test/java/org/onap/policy/pdp/xacml/application/common/XacmlPolicyUtilsTest.java b/applications/common/src/test/java/org/onap/policy/pdp/xacml/application/common/XacmlPolicyUtilsTest.java index 05d796ea..fbfde1a4 100644 --- a/applications/common/src/test/java/org/onap/policy/pdp/xacml/application/common/XacmlPolicyUtilsTest.java +++ b/applications/common/src/test/java/org/onap/policy/pdp/xacml/application/common/XacmlPolicyUtilsTest.java @@ -48,7 +48,6 @@ import oasis.names.tc.xacml._3_0.core.schema.wd_17.PolicySetType; import oasis.names.tc.xacml._3_0.core.schema.wd_17.PolicyType; import oasis.names.tc.xacml._3_0.core.schema.wd_17.RuleType; import oasis.names.tc.xacml._3_0.core.schema.wd_17.TargetType; - import org.junit.BeforeClass; import org.junit.ClassRule; import org.junit.Test; diff --git a/applications/common/src/test/java/org/onap/policy/pdp/xacml/application/common/matchable/MatchablePolicyTypeTest.java b/applications/common/src/test/java/org/onap/policy/pdp/xacml/application/common/matchable/MatchablePolicyTypeTest.java index c23f7028..cd28bddc 100644 --- a/applications/common/src/test/java/org/onap/policy/pdp/xacml/application/common/matchable/MatchablePolicyTypeTest.java +++ b/applications/common/src/test/java/org/onap/policy/pdp/xacml/application/common/matchable/MatchablePolicyTypeTest.java @@ -286,7 +286,7 @@ public class MatchablePolicyTypeTest implements MatchableCallback { // contain potential matchables // if (propertyValue instanceof List) { - for (Object listValue : ((List)propertyValue)) { + for (Object listValue : ((List) propertyValue)) { if (listValue instanceof Map) { generateTargetType(target, matchablePolicyType, (Map) listValue); } -- cgit 1.2.3-korg