aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorliamfallon <liam.fallon@est.tech>2019-07-09 12:29:34 +0000
committerliamfallon <liam.fallon@est.tech>2019-07-09 12:29:34 +0000
commita29532be7ca698f60ca3ea17e17bcc6d86044088 (patch)
tree25920bef679db7da8ec91600c03ab83562183829
parenta94cf1efa1dc3b4bb5f0d5f6b3655e6ae282c343 (diff)
Fix typo in CLI editor error message
Issue-ID: POLICY-1897 Change-Id: I810c2550c6615d32b8d30148efc36a3660c3c1a5 Signed-off-by: liamfallon <liam.fallon@est.tech>
-rw-r--r--auth/cli-editor/src/main/java/org/onap/policy/apex/auth/clieditor/CommandLineParameters.java18
1 files changed, 9 insertions, 9 deletions
diff --git a/auth/cli-editor/src/main/java/org/onap/policy/apex/auth/clieditor/CommandLineParameters.java b/auth/cli-editor/src/main/java/org/onap/policy/apex/auth/clieditor/CommandLineParameters.java
index 036208fd2..01eeb6162 100644
--- a/auth/cli-editor/src/main/java/org/onap/policy/apex/auth/clieditor/CommandLineParameters.java
+++ b/auth/cli-editor/src/main/java/org/onap/policy/apex/auth/clieditor/CommandLineParameters.java
@@ -5,15 +5,15 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- *
+ *
* SPDX-License-Identifier: Apache-2.0
* ============LICENSE_END=========================================================
*/
@@ -37,8 +37,8 @@ import org.onap.policy.common.utils.resources.ResourceUtils;
*/
public class CommandLineParameters {
// Recurring string constants
- private static final String OF_TYPE_TAG = "of type ";
-
+ private static final String OF_TYPE_TAG = " of type ";
+
// Default location of the command definition meta data in JSON
private static final String JSON_COMMAND_METADATA_RESOURCE = "etc/editor/Commands.json";
private static final String APEX_MODEL_PROPERTIES_RESOURCE = "etc/editor/ApexModelProperties.json";
@@ -526,7 +526,7 @@ public class CommandLineParameters {
/**
* Check if the command failures flag is set.
- *
+ *
* @return true if the command failures flag has been set
*/
public boolean checkSetIgnoreCommandFailures() {
@@ -535,7 +535,7 @@ public class CommandLineParameters {
/**
* Checks if the command failures flag is set.
- *
+ *
* @param ignoreCommandFailuresSet true if the command failures flag has been set
*/
public void setIgnoreCommandFailuresSet(final boolean ignoreCommandFailuresSet) {
@@ -544,7 +544,7 @@ public class CommandLineParameters {
/**
* Checks if command failures should be ignored and command execution continue.
- *
+ *
* @return true if command failures should be ignored
*/
public boolean isIgnoreCommandFailures() {
@@ -553,7 +553,7 @@ public class CommandLineParameters {
/**
* Sets if command errors should be ignored and command execution continue.
- *
+ *
* @param ignoreCommandFailures true if command errors should be ignored
*/
public void setIgnoreCommandFailures(final boolean ignoreCommandFailures) {