diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2018-09-28 04:58:26 -0400 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2018-10-01 10:28:44 -0400 |
commit | a0e0c7840f72392152a970d88a5a66d394c4a793 (patch) | |
tree | 1a1976844cb52020407b4d20e019f81ec25d5abf /policy-utils/src/main | |
parent | 367f9d25434202a4fd6f5e54cb19196c7ec3d058 (diff) |
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 <pdragosh@research.att.com>
Diffstat (limited to 'policy-utils/src/main')
-rw-r--r-- | policy-utils/src/main/java/org/onap/policy/drools/utils/ReflectionUtil.java | 8 | ||||
-rw-r--r-- | policy-utils/src/main/java/org/onap/policy/drools/utils/logging/MDCTransaction.java | 2 |
2 files changed, 3 insertions, 7 deletions
diff --git a/policy-utils/src/main/java/org/onap/policy/drools/utils/ReflectionUtil.java b/policy-utils/src/main/java/org/onap/policy/drools/utils/ReflectionUtil.java index f618b4c9..bb6c5428 100644 --- a/policy-utils/src/main/java/org/onap/policy/drools/utils/ReflectionUtil.java +++ b/policy-utils/src/main/java/org/onap/policy/drools/utils/ReflectionUtil.java @@ -18,10 +18,6 @@ * ============LICENSE_END========================================================= */ -/** - * - */ - package org.onap.policy.drools.utils; import org.slf4j.Logger; @@ -35,7 +31,7 @@ public class ReflectionUtil { protected static final Logger logger = LoggerFactory.getLogger(ReflectionUtil.class); - private ReflectionUtil(){ + private ReflectionUtil() { } /** @@ -83,7 +79,7 @@ public class ReflectionUtil { * * @param parent superclass * @param presumedSubclass subclass - * @return + * @return true if it is a sub class */ public static boolean isSubclass(Class<?> parent, Class<?> presumedSubclass) { return parent.isAssignableFrom(presumedSubclass); diff --git a/policy-utils/src/main/java/org/onap/policy/drools/utils/logging/MDCTransaction.java b/policy-utils/src/main/java/org/onap/policy/drools/utils/logging/MDCTransaction.java index c6e78b28..61c7b0c6 100644 --- a/policy-utils/src/main/java/org/onap/policy/drools/utils/logging/MDCTransaction.java +++ b/policy-utils/src/main/java/org/onap/policy/drools/utils/logging/MDCTransaction.java @@ -336,7 +336,7 @@ public interface MDCTransaction { MDCTransaction setElapsedTime(Long elapsedTime); /** - * sets service instance id + * sets service instance id. */ MDCTransaction setServiceInstanceId(String serviceInstanceId); |