diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2018-09-26 13:53:38 -0400 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2018-09-27 11:43:48 +0000 |
commit | 1c32e0c17febcbef90756f3eef4868542723cc81 (patch) | |
tree | 782ccd0d28a1489f347fff95d3034622e83261ff /controlloop/common/policy-yaml/src/main/java | |
parent | 4c9ff34878cdc955f30e337cc8c0a2d54aaca364 (diff) |
Fix for checkstyle declarations
I found the problem with policy-yaml. An exception was
occuring due to an extra line between an @return for
javadoc vs. just printing a warning.
See: https://github.com/checkstyle/checkstyle/issues/2398
I also messed up some of the other declarations in the
sub-modules.
Copyright
Issue-ID: POLICY-1153
Change-Id: I848e0b19340d494775e161bab86ffb60a97d83ab
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'controlloop/common/policy-yaml/src/main/java')
3 files changed, 4 insertions, 5 deletions
diff --git a/controlloop/common/policy-yaml/src/main/java/org/onap/policy/controlloop/compiler/ControlLoopCompiler.java b/controlloop/common/policy-yaml/src/main/java/org/onap/policy/controlloop/compiler/ControlLoopCompiler.java index 45ff1847b..76c6f8f14 100644 --- a/controlloop/common/policy-yaml/src/main/java/org/onap/policy/controlloop/compiler/ControlLoopCompiler.java +++ b/controlloop/common/policy-yaml/src/main/java/org/onap/policy/controlloop/compiler/ControlLoopCompiler.java @@ -74,8 +74,7 @@ public class ControlLoopCompiler implements Serializable { * * @param yamlSpecification the yaml input stream * @param callback method to callback during compilation - * @return - * + * @return Control Loop object * @throws CompilerException throws any compile exception found */ public static ControlLoopPolicy compile(InputStream yamlSpecification, diff --git a/controlloop/common/policy-yaml/src/main/java/org/onap/policy/controlloop/policy/builder/ControlLoopPolicyBuilder.java b/controlloop/common/policy-yaml/src/main/java/org/onap/policy/controlloop/policy/builder/ControlLoopPolicyBuilder.java index 9d00793b9..8ea33d5f0 100644 --- a/controlloop/common/policy-yaml/src/main/java/org/onap/policy/controlloop/policy/builder/ControlLoopPolicyBuilder.java +++ b/controlloop/common/policy-yaml/src/main/java/org/onap/policy/controlloop/policy/builder/ControlLoopPolicyBuilder.java @@ -235,7 +235,7 @@ public interface ControlLoopPolicyBuilder { /** * Removes all existing Operational Policies and reverts back to an Open Loop. * - * @return + * @return Policy builder object */ public ControlLoopPolicyBuilder removeAllPolicies(); diff --git a/controlloop/common/policy-yaml/src/main/java/org/onap/policy/controlloop/policy/guard/Constraint.java b/controlloop/common/policy-yaml/src/main/java/org/onap/policy/controlloop/policy/guard/Constraint.java index b54e2f665..5ac1fdc91 100644 --- a/controlloop/common/policy-yaml/src/main/java/org/onap/policy/controlloop/policy/guard/Constraint.java +++ b/controlloop/common/policy-yaml/src/main/java/org/onap/policy/controlloop/policy/guard/Constraint.java @@ -55,8 +55,8 @@ public class Constraint { /** * Constructor. * - * @param minVNFLimit minimum VNF count - * @param maxVNFLimit maximum VNF count + * @param minVnfCount minimum VNF count + * @param maxVnfCount maximum VNF count * @param activeTimeRange active time range */ public Constraint(Integer minVnfCount, Integer maxVnfCount, Map<String, String> activeTimeRange) { |