From a0e0c7840f72392152a970d88a5a66d394c4a793 Mon Sep 17 00:00:00 2001 From: Pamela Dragosh Date: Fri, 28 Sep 2018 04:58:26 -0400 Subject: Set drools-pdp checkstyle config Fixed last remaining checkstyle issues along with setting the pom.xml to the correct path setting. Fixed forbidden summary fragments, not allowed to prepend summary with "This method returns" Issue-ID: POLICY-1153 Change-Id: I267842080494132a7b5507731e14f027a3f6fe44 Signed-off-by: Pamela Dragosh --- .../onap/policy/drools/healthcheck/AafHealthCheckFilter.java | 2 +- .../java/org/onap/policy/drools/healthcheck/HealthCheck.java | 10 +++++----- .../org/onap/policy/drools/healthcheck/RestHealthCheck.java | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'feature-healthcheck/src/main') diff --git a/feature-healthcheck/src/main/java/org/onap/policy/drools/healthcheck/AafHealthCheckFilter.java b/feature-healthcheck/src/main/java/org/onap/policy/drools/healthcheck/AafHealthCheckFilter.java index 3cb9def6..47a617b3 100644 --- a/feature-healthcheck/src/main/java/org/onap/policy/drools/healthcheck/AafHealthCheckFilter.java +++ b/feature-healthcheck/src/main/java/org/onap/policy/drools/healthcheck/AafHealthCheckFilter.java @@ -24,7 +24,7 @@ import org.onap.policy.common.endpoints.http.server.aaf.AafGranularAuthFilter; import org.onap.policy.drools.server.restful.aaf.AafBase; /** - * Healthcheck AAF Authorization Filter + * Healthcheck AAF Authorization Filter. */ public class AafHealthCheckFilter extends AafGranularAuthFilter { diff --git a/feature-healthcheck/src/main/java/org/onap/policy/drools/healthcheck/HealthCheck.java b/feature-healthcheck/src/main/java/org/onap/policy/drools/healthcheck/HealthCheck.java index d35b7371..40e4f354 100644 --- a/feature-healthcheck/src/main/java/org/onap/policy/drools/healthcheck/HealthCheck.java +++ b/feature-healthcheck/src/main/java/org/onap/policy/drools/healthcheck/HealthCheck.java @@ -201,7 +201,7 @@ class HealthCheckMonitor implements HealthCheck { protected volatile Properties healthCheckProperties = null; /** - * {@inheritDoc} + * {@inheritDoc}. */ @Override public Reports healthCheck() { @@ -242,7 +242,7 @@ class HealthCheckMonitor implements HealthCheck { } /** - * {@inheritDoc} + * {@inheritDoc}. */ @Override public boolean start() { @@ -265,7 +265,7 @@ class HealthCheckMonitor implements HealthCheck { } /** - * {@inheritDoc} + * {@inheritDoc}. */ @Override public boolean stop() { @@ -290,7 +290,7 @@ class HealthCheckMonitor implements HealthCheck { } /** - * {@inheritDoc} + * {@inheritDoc}. */ @Override public void shutdown() { @@ -298,7 +298,7 @@ class HealthCheckMonitor implements HealthCheck { } /** - * {@inheritDoc} + * {@inheritDoc}. */ @Override public synchronized boolean isAlive() { diff --git a/feature-healthcheck/src/main/java/org/onap/policy/drools/healthcheck/RestHealthCheck.java b/feature-healthcheck/src/main/java/org/onap/policy/drools/healthcheck/RestHealthCheck.java index 734a75e0..5047cb26 100644 --- a/feature-healthcheck/src/main/java/org/onap/policy/drools/healthcheck/RestHealthCheck.java +++ b/feature-healthcheck/src/main/java/org/onap/policy/drools/healthcheck/RestHealthCheck.java @@ -49,7 +49,7 @@ import org.onap.policy.drools.healthcheck.HealthCheck.Reports; tags = { @Tag(name = "pdp-d-healthcheck", description = "Drools PDP Healthcheck Operations") } -) + ) public class RestHealthCheck { @GET -- cgit 1.2.3-korg