From 069dbb206cedae6c664972cfb8baf036989d61a0 Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Thu, 25 Jun 2020 11:12:36 -0400 Subject: Use parent snapshot in drools-apps Fixed checkstyle issues that were subsequently reported. Also fixed a few eclipse warnings. Also fixed some of the sonar issues in the files that were touched: - use "{}" in logger calls - camelcase method names - use "" instead of generics - add serialization ID Issue-ID: POLICY-2188 Change-Id: I5c94a2e26dd74a61a0a919e1c3da17ab02a5bc9d Signed-off-by: Jim Hahn --- controlloop/common/eventmanager/pom.xml | 1 - .../policy/drools/server/restful/RestTransactionTrackerTest.java | 5 ----- controlloop/common/guard/pom.xml | 3 +-- 3 files changed, 1 insertion(+), 8 deletions(-) (limited to 'controlloop/common') diff --git a/controlloop/common/eventmanager/pom.xml b/controlloop/common/eventmanager/pom.xml index aa4f8e8bb..a2ac8aee1 100644 --- a/controlloop/common/eventmanager/pom.xml +++ b/controlloop/common/eventmanager/pom.xml @@ -41,7 +41,6 @@ commons-io commons-io - 2.5 provided diff --git a/controlloop/common/feature-controlloop-trans/src/test/java/org/onap/policy/drools/server/restful/RestTransactionTrackerTest.java b/controlloop/common/feature-controlloop-trans/src/test/java/org/onap/policy/drools/server/restful/RestTransactionTrackerTest.java index d05b97589..02842da65 100644 --- a/controlloop/common/feature-controlloop-trans/src/test/java/org/onap/policy/drools/server/restful/RestTransactionTrackerTest.java +++ b/controlloop/common/feature-controlloop-trans/src/test/java/org/onap/policy/drools/server/restful/RestTransactionTrackerTest.java @@ -23,7 +23,6 @@ package org.onap.policy.drools.server.restful; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; -import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import java.util.Collections; @@ -151,10 +150,6 @@ public class RestTransactionTrackerTest { assertNotNull(HttpClient.getBody(response, clazz)); } - private void empty(Response response, Class clazz) { - assertNull(HttpClient.getBody(response, clazz)); - } - @NotNull private Response checkResponse(int statusCode, Response response) { assertEquals(statusCode, response.getStatus()); diff --git a/controlloop/common/guard/pom.xml b/controlloop/common/guard/pom.xml index 8c355db36..ec3c0e485 100644 --- a/controlloop/common/guard/pom.xml +++ b/controlloop/common/guard/pom.xml @@ -2,7 +2,7 @@ ============LICENSE_START======================================================= drools-pdp-apps ================================================================================ - Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved. + Copyright (C) 2017-2020 AT&T Intellectual Property. All rights reserved. Modifications Copyright (C) 2020 Bell Canada. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); @@ -77,7 +77,6 @@ commons-io commons-io - 2.5 provided -- cgit 1.2.3-korg