diff options
author | eikrwaq <waqas.ikram@ericsson.com> | 2018-03-28 15:50:57 +0100 |
---|---|---|
committer | eikrwaq <waqas.ikram@ericsson.com> | 2018-03-28 15:53:34 +0100 |
commit | aef13ca06a91db18b82a9e6c8aeee8961aedbf4e (patch) | |
tree | 4d686d278bcd3111d80d7f486f1dcb6652b60ce6 /site-manager/src/main/java/org/onap/policy/common/sitemanager/utils/CommandLineHelper.java | |
parent | d625f8e805c12301e36392d550b4ca8f8cfa3b5f (diff) |
Removed checkstyle warnings
Change-Id: I350bbd414477fe0b480c1bc4e7fa60b1e63842a7
Issue-ID: POLICY-712
Signed-off-by: eikrwaq <waqas.ikram@ericsson.com>
Diffstat (limited to 'site-manager/src/main/java/org/onap/policy/common/sitemanager/utils/CommandLineHelper.java')
-rw-r--r-- | site-manager/src/main/java/org/onap/policy/common/sitemanager/utils/CommandLineHelper.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/site-manager/src/main/java/org/onap/policy/common/sitemanager/utils/CommandLineHelper.java b/site-manager/src/main/java/org/onap/policy/common/sitemanager/utils/CommandLineHelper.java index 58db7bc8..cfc68785 100644 --- a/site-manager/src/main/java/org/onap/policy/common/sitemanager/utils/CommandLineHelper.java +++ b/site-manager/src/main/java/org/onap/policy/common/sitemanager/utils/CommandLineHelper.java @@ -21,6 +21,7 @@ package org.onap.policy.common.sitemanager.utils; import java.util.List; + import org.apache.commons.cli.CommandLine; import org.apache.commons.cli.CommandLineParser; import org.apache.commons.cli.DefaultParser; @@ -76,6 +77,11 @@ public class CommandLineHelper { } } + /** + * validate given command line arguments. + * + * @return true if valid + */ public boolean isValid() { // fetch options, and remaining arguments final String sOption = commandLine.getOptionValue(SITE_ARGUMENT_NAME); |