Merge "Sonar fix: LcmSliClient.java"
diff --git a/lcm/provider/src/main/java/org/onap/ccsdk/sli/northbound/LcmSliClient.java b/lcm/provider/src/main/java/org/onap/ccsdk/sli/northbound/LcmSliClient.java
index 9fcc92c..54e53c7 100644
--- a/lcm/provider/src/main/java/org/onap/ccsdk/sli/northbound/LcmSliClient.java
+++ b/lcm/provider/src/main/java/org/onap/ccsdk/sli/northbound/LcmSliClient.java
@@ -5,6 +5,7 @@
  * ================================================================================
  * Copyright (C) 2017 AT&T Intellectual Property. All rights
  * 			reserved.
+ * Modifications Copyright © 2018 IBM.
  * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -36,6 +37,8 @@
 
 	private final SvcLogicService svcLogicService;
 
+	private String ErrorCode = "error-code";
+
 	public LcmSliClient(final SvcLogicService svcLogicService) {
 		this.svcLogicService = svcLogicService;
 	}
@@ -80,12 +83,12 @@
 
 		if ("failure".equalsIgnoreCase(respProps.getProperty("SvcLogic.status"))) {
 
-			if (!respProps.containsKey("error-code")) {
-				respProps.setProperty("error-code", "500");
+			if (!respProps.containsKey(ErrorCode)) {
+				respProps.setProperty(ErrorCode, "500");
 			}
 		} else {
-			if (!respProps.containsKey("error-code")) {
-				respProps.setProperty("error-code", "200");
+			if (!respProps.containsKey(ErrorCode)) {
+				respProps.setProperty(ErrorCode, "200");
 			}
 		}