Fix typo in CLI editor error message 76/91076/3
authorliamfallon <liam.fallon@est.tech>
Tue, 9 Jul 2019 12:29:34 +0000 (12:29 +0000)
committerliamfallon <liam.fallon@est.tech>
Tue, 9 Jul 2019 12:29:34 +0000 (12:29 +0000)
Issue-ID: POLICY-1897
Change-Id: I810c2550c6615d32b8d30148efc36a3660c3c1a5
Signed-off-by: liamfallon <liam.fallon@est.tech>
auth/cli-editor/src/main/java/org/onap/policy/apex/auth/clieditor/CommandLineParameters.java

index 036208f..01eeb61 100644 (file)
@@ -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) {