From 3dbcd3ceb1f71626d1e35da01fd3ecbaa7fb58d7 Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Fri, 18 Jun 2021 14:47:59 -0400 Subject: Fix new checkstyle issues in drools-pdp The new version of checkstyle identified new issues. Fixed those. Also addressed sonar "var" issues. Issue-ID: POLICY-3289 Change-Id: I3a18d3988202dca6f3c87f2aa1810bf803a9d14d Signed-off-by: Jim Hahn --- .../java/org/onap/policy/drools/pooling/EndToEndFeatureTest.java | 4 ++-- .../src/test/java/org/onap/policy/drools/pooling/FeatureTest.java | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'feature-pooling-dmaap/src/test/java') diff --git a/feature-pooling-dmaap/src/test/java/org/onap/policy/drools/pooling/EndToEndFeatureTest.java b/feature-pooling-dmaap/src/test/java/org/onap/policy/drools/pooling/EndToEndFeatureTest.java index 08c7ebe4..b8970f1f 100644 --- a/feature-pooling-dmaap/src/test/java/org/onap/policy/drools/pooling/EndToEndFeatureTest.java +++ b/feature-pooling-dmaap/src/test/java/org/onap/policy/drools/pooling/EndToEndFeatureTest.java @@ -2,7 +2,7 @@ * ============LICENSE_START======================================================= * ONAP * ================================================================================ - * Copyright (C) 2018-2020 AT&T Intellectual Property. All rights reserved. + * Copyright (C) 2018-2021 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. @@ -317,7 +317,7 @@ public class EndToEndFeatureTest { /** * Constructor. * - * @param nEvents number of events to be processed + * @param events number of events to be processed */ public Context(int events) { eventCounter = new CountDownLatch(events); diff --git a/feature-pooling-dmaap/src/test/java/org/onap/policy/drools/pooling/FeatureTest.java b/feature-pooling-dmaap/src/test/java/org/onap/policy/drools/pooling/FeatureTest.java index efab636b..bbd4c19f 100644 --- a/feature-pooling-dmaap/src/test/java/org/onap/policy/drools/pooling/FeatureTest.java +++ b/feature-pooling-dmaap/src/test/java/org/onap/policy/drools/pooling/FeatureTest.java @@ -2,7 +2,7 @@ * ============LICENSE_START======================================================= * ONAP * ================================================================================ - * Copyright (C) 2018-2020 AT&T Intellectual Property. All rights reserved. + * Copyright (C) 2018-2021 AT&T Intellectual Property. All rights reserved. * Modifications Copyright (C) 2020 Nordix Foundation * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); @@ -231,7 +231,7 @@ public class FeatureTest { /** * Constructor. * - * @param nEvents number of events to be processed + * @param events number of events to be processed */ public Context(int events) { @@ -1002,7 +1002,6 @@ public class FeatureTest { /** * Constructor. * - * @param context this manager's context * @param topic the topic * @throws PoolingFeatureException if an error occurs */ -- cgit 1.2.3-korg