From 426ecdf2949b5951bb05a9cc83d6fa10d4ff04d4 Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Wed, 10 Jul 2019 16:33:41 -0400 Subject: Fix checkstyle issues in policy-management Also deleted the checkstyle suppression file. Moved classes into their own source files per checkstyle. Change-Id: I586223aac0e5b7623cfd7b0acfceca4742ecc013 Issue-ID: POLICY-1908-mgmt-style Signed-off-by: Jim Hahn --- .../onap/policy/drools/testtransaction/TestTransactionFeature.java | 6 +++--- .../org.onap.policy.drools.features.PolicyControllerFeatureAPI | 1 - .../org.onap.policy.drools.features.PolicyControllerFeatureApi | 1 + 3 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 feature-test-transaction/src/main/resources/META-INF/services/org.onap.policy.drools.features.PolicyControllerFeatureAPI create mode 100644 feature-test-transaction/src/main/resources/META-INF/services/org.onap.policy.drools.features.PolicyControllerFeatureApi (limited to 'feature-test-transaction') diff --git a/feature-test-transaction/src/main/java/org/onap/policy/drools/testtransaction/TestTransactionFeature.java b/feature-test-transaction/src/main/java/org/onap/policy/drools/testtransaction/TestTransactionFeature.java index bb8a7598..3b2c4598 100644 --- a/feature-test-transaction/src/main/java/org/onap/policy/drools/testtransaction/TestTransactionFeature.java +++ b/feature-test-transaction/src/main/java/org/onap/policy/drools/testtransaction/TestTransactionFeature.java @@ -2,7 +2,7 @@ * ============LICENSE_START======================================================= * feature-test-transaction * ================================================================================ - * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. + * Copyright (C) 2017-2019 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. @@ -20,7 +20,7 @@ package org.onap.policy.drools.testtransaction; -import org.onap.policy.drools.features.PolicyControllerFeatureAPI; +import org.onap.policy.drools.features.PolicyControllerFeatureApi; import org.onap.policy.drools.system.PolicyController; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -29,7 +29,7 @@ import org.slf4j.LoggerFactory; * TestTransactionFeature implements the PolicyControllerFeatureAPI. TestTransactionFeature is the * interface to the TestTransaction feature logic. */ -public class TestTransactionFeature implements PolicyControllerFeatureAPI { +public class TestTransactionFeature implements PolicyControllerFeatureApi { // get an instance of logger private static final Logger logger = LoggerFactory.getLogger(TestTransactionFeature.class); diff --git a/feature-test-transaction/src/main/resources/META-INF/services/org.onap.policy.drools.features.PolicyControllerFeatureAPI b/feature-test-transaction/src/main/resources/META-INF/services/org.onap.policy.drools.features.PolicyControllerFeatureAPI deleted file mode 100644 index 6b60237d..00000000 --- a/feature-test-transaction/src/main/resources/META-INF/services/org.onap.policy.drools.features.PolicyControllerFeatureAPI +++ /dev/null @@ -1 +0,0 @@ -org.onap.policy.drools.testtransaction.TestTransactionFeature diff --git a/feature-test-transaction/src/main/resources/META-INF/services/org.onap.policy.drools.features.PolicyControllerFeatureApi b/feature-test-transaction/src/main/resources/META-INF/services/org.onap.policy.drools.features.PolicyControllerFeatureApi new file mode 100644 index 00000000..6b60237d --- /dev/null +++ b/feature-test-transaction/src/main/resources/META-INF/services/org.onap.policy.drools.features.PolicyControllerFeatureApi @@ -0,0 +1 @@ +org.onap.policy.drools.testtransaction.TestTransactionFeature -- cgit 1.2.3-korg