diff options
author | 2017-09-14 20:42:01 +0530 | |
---|---|---|
committer | 2017-09-14 20:58:48 +0530 | |
commit | 72b4cdffcd021828e2b4ac00b59496b0b3bc7a26 (patch) | |
tree | 70bf182bd329ea91474e18b1471453112865f931 /framework/src/main/java/org/onap | |
parent | dd075504299c817ea899f32af2b558860da7c6fe (diff) |
Migrate type long into digit
CLI-3
Change-Id: I5706963146d9575a9094aa7c24b85e1a0d8e7f80
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'framework/src/main/java/org/onap')
-rw-r--r-- | framework/src/main/java/org/onap/cli/fw/input/ParameterType.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/src/main/java/org/onap/cli/fw/input/ParameterType.java b/framework/src/main/java/org/onap/cli/fw/input/ParameterType.java index 2625883e..791d7e42 100644 --- a/framework/src/main/java/org/onap/cli/fw/input/ParameterType.java +++ b/framework/src/main/java/org/onap/cli/fw/input/ParameterType.java @@ -30,7 +30,7 @@ public enum ParameterType { /** * YAML file. */ - YAML, STRING, TEXT, LONG, + YAML, STRING, TEXT, DIGIT, /** * URL location. */ @@ -52,8 +52,8 @@ public enum ParameterType { return YAML; } else if (STRING.name().equalsIgnoreCase(name)) { return STRING; - } else if (LONG.name().equalsIgnoreCase(name)) { - return LONG; + } else if (DIGIT.name().equalsIgnoreCase(name)) { + return DIGIT; } else if (URL.name().equalsIgnoreCase(name)) { return URL; } else if (BOOL.name().equalsIgnoreCase(name)) { |