From 91bbf2b36488c870b625f032220451155d014d20 Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Fri, 18 Jun 2021 09:27:39 -0400 Subject: Fix new checkstyle issues in policy-common The new version of checkstyle identified new issues. Fixed those. Issue-ID: POLICY-3284 Change-Id: I2a8bf2b460fda7972ce573f14df5af52d46c9993 Signed-off-by: Jim Hahn --- integrity-audit/src/main/java/org/onap/policy/common/ia/DbDao.java | 1 - .../test/java/org/onap/policy/common/ia/IntegrityAuditTestBase.java | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'integrity-audit') diff --git a/integrity-audit/src/main/java/org/onap/policy/common/ia/DbDao.java b/integrity-audit/src/main/java/org/onap/policy/common/ia/DbDao.java index 27d035f2..e83bbca8 100644 --- a/integrity-audit/src/main/java/org/onap/policy/common/ia/DbDao.java +++ b/integrity-audit/src/main/java/org/onap/policy/common/ia/DbDao.java @@ -95,7 +95,6 @@ public class DbDao { * @param resourceName the resource name * @param persistenceUnit the persistence unit * @param properties the properties - * @param lastUpdateDate may be {@code null} * @param altDbUrl may be {@code null} * @throws IntegrityAuditException if an error occurs */ diff --git a/integrity-audit/src/test/java/org/onap/policy/common/ia/IntegrityAuditTestBase.java b/integrity-audit/src/test/java/org/onap/policy/common/ia/IntegrityAuditTestBase.java index a8e3fbef..13939412 100644 --- a/integrity-audit/src/test/java/org/onap/policy/common/ia/IntegrityAuditTestBase.java +++ b/integrity-audit/src/test/java/org/onap/policy/common/ia/IntegrityAuditTestBase.java @@ -304,8 +304,7 @@ public class IntegrityAuditTestBase { * Verifies that items appear within the log, in order. A given item may appear more than once. * In addition, the log may contain extra items; those are ignored. * - * @param textre regular expression used to extract an item from a line in the log. The first - * "capture" group of the regular expression is assumed to contain the extracted item + * @param app where data has been logged * @param items items that should be matched by the items extracted from the log, in order * @throws IOException if an IO error occurs * @throws AssertionError if the desired items were not all found -- cgit 1.2.3-korg