From c3cba1ad09e4bca029490e18fe51e972089f7ec7 Mon Sep 17 00:00:00 2001 From: Krishnakumar Jinka Date: Sun, 25 Nov 2018 12:27:05 +0900 Subject: Fix checkstyle issue in policy common Move method into class it is being called. Fix minor checkstyle formatting in the class. The changes have side effects hence revert some changes. Modify the javadoc tags Issue-ID: POLICY-1251 Change-Id: Iecb513dafe3f60628664f3e60d6c49d3e4ce3148 Signed-off-by: kris.jinka --- .../test/java/org/onap/policy/common/im/StateManagementTest.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'integrity-monitor/src/test/java/org/onap/policy/common/im/StateManagementTest.java') diff --git a/integrity-monitor/src/test/java/org/onap/policy/common/im/StateManagementTest.java b/integrity-monitor/src/test/java/org/onap/policy/common/im/StateManagementTest.java index 1d0d34ea..9bc49861 100644 --- a/integrity-monitor/src/test/java/org/onap/policy/common/im/StateManagementTest.java +++ b/integrity-monitor/src/test/java/org/onap/policy/common/im/StateManagementTest.java @@ -7,9 +7,9 @@ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -49,6 +49,7 @@ import org.slf4j.LoggerFactory; * privileges and can execute time-sensitive tasks. */ public class StateManagementTest extends IntegrityMonitorTestBase { + private static final String TEST_RESOURCE_NAME = "test_resource1"; private static Logger logger = LoggerFactory.getLogger(StateManagementTest.class); // @@ -276,8 +277,8 @@ public class StateManagementTest extends IntegrityMonitorTestBase { /** * Converts a state element to a comma-separated string. - * - * @param se element to be converted + * + * @param sm element to be converted * @return a string representing the element */ private String makeString(final StateManagement sm) { -- cgit 1.2.3-korg