From 789f09f2430440d6be44a5fad26715d002aff757 Mon Sep 17 00:00:00 2001
From: Pamela Dragosh <pdragosh@research.att.com>
Date: Fri, 9 Nov 2018 08:02:39 -0500
Subject: Fix sonar/checkstyle issues

The main pom.xml was incorrect, so these issues have
creeped into the source code.

Issue-ID: POLICY-1256
Change-Id: Ic0b52f3a28f869252120991b0c1946ef8402bcc5
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
---
 .../main/parameters/DistributionParameterGroup.java            |  8 ++++----
 .../parameters/PolicyForwarderConfigurationParameterGroup.java |  2 +-
 .../policy/distribution/main/rest/DistributionRestServer.java  | 10 +++++-----
 3 files changed, 10 insertions(+), 10 deletions(-)

(limited to 'main/src')

diff --git a/main/src/main/java/org/onap/policy/distribution/main/parameters/DistributionParameterGroup.java b/main/src/main/java/org/onap/policy/distribution/main/parameters/DistributionParameterGroup.java
index 4bcd1a32..c7fbbd84 100644
--- a/main/src/main/java/org/onap/policy/distribution/main/parameters/DistributionParameterGroup.java
+++ b/main/src/main/java/org/onap/policy/distribution/main/parameters/DistributionParameterGroup.java
@@ -200,16 +200,16 @@ public class DistributionParameterGroup implements ParameterGroup {
     }
 
     private void validateForwarderConfigurations(final GroupValidationResult validationResult) {
-        for (final Entry<String, PolicyForwarderConfigurationParameterGroup> configurationParameters : policyForwarderConfigurationParameters
-                .entrySet()) {
+        for (final Entry<String, PolicyForwarderConfigurationParameterGroup> configurationParameters : 
+                policyForwarderConfigurationParameters.entrySet()) {
             validationResult.setResult("policyForwarderConfigurationParameters", configurationParameters.getKey(),
                     configurationParameters.getValue().validate());
         }
     }
 
     private void validateDecoderConfigurations(final GroupValidationResult validationResult) {
-        for (final Entry<String, PolicyDecoderConfigurationParameterGroup> configurationParameters : policyDecoderConfigurationParameters
-                .entrySet()) {
+        for (final Entry<String, PolicyDecoderConfigurationParameterGroup> configurationParameters :
+                policyDecoderConfigurationParameters.entrySet()) {
             validationResult.setResult("policyDecoderConfigurationParameters", configurationParameters.getKey(),
                     configurationParameters.getValue().validate());
         }
diff --git a/main/src/main/java/org/onap/policy/distribution/main/parameters/PolicyForwarderConfigurationParameterGroup.java b/main/src/main/java/org/onap/policy/distribution/main/parameters/PolicyForwarderConfigurationParameterGroup.java
index f2c496d4..d071afb4 100644
--- a/main/src/main/java/org/onap/policy/distribution/main/parameters/PolicyForwarderConfigurationParameterGroup.java
+++ b/main/src/main/java/org/onap/policy/distribution/main/parameters/PolicyForwarderConfigurationParameterGroup.java
@@ -25,7 +25,7 @@ import org.onap.policy.distribution.forwarding.PolicyForwarder;
 
 /**
  * Base class of all {@link ParameterGroup} classes for configuration parameters for
- * {@link PolicyForwarder} classes
+ * {@link PolicyForwarder} classes.
  */
 public abstract class PolicyForwarderConfigurationParameterGroup implements ParameterGroup {
 
diff --git a/main/src/main/java/org/onap/policy/distribution/main/rest/DistributionRestServer.java b/main/src/main/java/org/onap/policy/distribution/main/rest/DistributionRestServer.java
index fa786bda..4e2c8428 100644
--- a/main/src/main/java/org/onap/policy/distribution/main/rest/DistributionRestServer.java
+++ b/main/src/main/java/org/onap/policy/distribution/main/rest/DistributionRestServer.java
@@ -55,7 +55,7 @@ public class DistributionRestServer implements Startable {
     }
 
     /**
-     * {@inheritDoc}
+     * {@inheritDoc}.
      */
     @Override
     public boolean start() {
@@ -95,7 +95,7 @@ public class DistributionRestServer implements Startable {
     }
 
     /**
-     * {@inheritDoc}
+     * {@inheritDoc}.
      */
     @Override
     public boolean stop() {
@@ -110,7 +110,7 @@ public class DistributionRestServer implements Startable {
     }
 
     /**
-     * {@inheritDoc}
+     * {@inheritDoc}.
      */
     @Override
     public void shutdown() {
@@ -118,7 +118,7 @@ public class DistributionRestServer implements Startable {
     }
 
     /**
-     * {@inheritDoc}
+     * {@inheritDoc}.
      */
     @Override
     public boolean isAlive() {
@@ -126,7 +126,7 @@ public class DistributionRestServer implements Startable {
     }
 
     /**
-     * {@inheritDoc}
+     * {@inheritDoc}.
      */
     @Override
     public String toString() {
-- 
cgit 1.2.3-korg