From 7a0a44eac6167cfeff935c39f2c3f20d3a893c3e Mon Sep 17 00:00:00 2001 From: liamfallon Date: Wed, 4 Dec 2019 09:20:04 +0000 Subject: Minor changes for new Eclipse checkstyle checks The laest Eclipse checkstyle version 8.26.0 does more thorough checking and identified a number of small issues in the apex-pdp codebase. This review fixes those issues. Issue-ID: POLICY-1913 Change-Id: I30ba25e3e425c6d54c77f925e8da3ab841a8357c Signed-off-by: liamfallon --- .../policymodel/handling/PolicyModelSplitter.java | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'model/policy-model') diff --git a/model/policy-model/src/main/java/org/onap/policy/apex/model/policymodel/handling/PolicyModelSplitter.java b/model/policy-model/src/main/java/org/onap/policy/apex/model/policymodel/handling/PolicyModelSplitter.java index 7ecb8fb0f..b11158cf6 100644 --- a/model/policy-model/src/main/java/org/onap/policy/apex/model/policymodel/handling/PolicyModelSplitter.java +++ b/model/policy-model/src/main/java/org/onap/policy/apex/model/policymodel/handling/PolicyModelSplitter.java @@ -5,15 +5,15 @@ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * + * * SPDX-License-Identifier: Apache-2.0 * ============LICENSE_END========================================================= */ @@ -33,8 +33,8 @@ import org.slf4j.ext.XLogger; import org.slf4j.ext.XLoggerFactory; /** - * Helper class used to extract information from a policy model into a policy model that is a subset - * of the original policy model. + * Helper class used to extract information from a policy model into a policy model that is a subset of the original + * policy model. * * @author Liam Fallon (liam.fallon@ericsson.com) */ @@ -44,11 +44,12 @@ public final class PolicyModelSplitter { /** * Private constructor used to prevent sub class instantiation. */ - private PolicyModelSplitter() {} + private PolicyModelSplitter() { + // Private constructor to block subclassing + } /** - * Get a sub policy model with only the information required for the specified policies from a - * larger policy model. + * Get a sub policy model with only the information required for the specified policies from a larger policy model. * * @param sourcePolicyModel the source Apex Model * @param subPolicies the policies to include in sub policy model @@ -61,8 +62,7 @@ public final class PolicyModelSplitter { } /** - * Get a sub policy model with only the information required for the specified policies from a - * larger policy model. + * Get a sub policy model with only the information required for the specified policies from a larger policy model. * * @param sourcePolicyModel the source Apex Model * @param subPolicies the policies to include in sub policy model -- cgit 1.2.3-korg