From 9e01b2e7180f61d8a57e55fed6a2fa5619f9f947 Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Mon, 21 Jun 2021 09:54:27 -0400 Subject: Fix new checkstyle issues in models The new version of checkstyle identified new issues. Fixed those. Issue-ID: POLICY-3094 Change-Id: I85314bc0249cba0020a0aefbc250851a2b646dd9 Signed-off-by: Jim Hahn --- .../main/java/org/onap/policy/models/pdp/concepts/PdpGroupFilter.java | 2 +- .../org/onap/policy/models/pdp/persistence/provider/PdpProvider.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'models-pdp/src/main/java/org') diff --git a/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpGroupFilter.java b/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpGroupFilter.java index ad64deb21..5373ace1d 100644 --- a/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpGroupFilter.java +++ b/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpGroupFilter.java @@ -186,7 +186,7 @@ public class PdpGroupFilter implements PfObjectFilter { * Filter PDP groups on PDP state. * * @param pdpGroup the PDP group to check - * @param policyFilter the policy regular expressions to check for + * @param pdpState the PDP state of interest * @return true if the filter should let this PDP group through */ private boolean filterOnPdpState(final PdpGroup pdpGroup, final PdpState pdpState) { diff --git a/models-pdp/src/main/java/org/onap/policy/models/pdp/persistence/provider/PdpProvider.java b/models-pdp/src/main/java/org/onap/policy/models/pdp/persistence/provider/PdpProvider.java index fec8ec572..681e39e71 100644 --- a/models-pdp/src/main/java/org/onap/policy/models/pdp/persistence/provider/PdpProvider.java +++ b/models-pdp/src/main/java/org/onap/policy/models/pdp/persistence/provider/PdpProvider.java @@ -358,7 +358,7 @@ public class PdpProvider { /** * Convert JPA PDP group list to an authorative PDP group list. * - * @param foundPdpGroups the list to convert + * @param jpaPdpGroupList the list to convert * @return the authorative list */ private List asPdpGroupList(List jpaPdpGroupList) { -- cgit 1.2.3-korg