Sonar fix for ResourceRequestBuilder 51/66051/1
authorGOPINATH MATHIVANAN <gopinath.mathivanan@in.ibm.com>
Wed, 12 Sep 2018 10:03:50 +0000 (15:33 +0530)
committerGOPINATH MATHIVANAN <gopinath.mathivanan@in.ibm.com>
Wed, 12 Sep 2018 10:04:32 +0000 (15:34 +0530)
Fixed sonar reported Vulnerability

Issue-ID: SO-1009
Change-Id: I39b5a89bc182cff570167f7dd2a109cb29ae1eae
Signed-off-by: GOPINATH MATHIVANAN <gopinath.mathivanan@in.ibm.com>
bpmn/MSOCommonBPMN/src/main/java/org/onap/so/bpmn/common/resource/ResourceRequestBuilder.java

index fe6b0f8..deb2985 100644 (file)
@@ -15,6 +15,7 @@
  * 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.
+ * Modifications Copyright (C) 2018 IBM.
  * ============LICENSE_END=========================================================
  */
 
@@ -55,9 +56,9 @@ import com.google.gson.reflect.TypeToken;
 
 public class ResourceRequestBuilder {
 
-    public static String CUSTOMIZATION_UUID = "customizationUUID";
+    private static String CUSTOMIZATION_UUID = "customizationUUID";
 
-    public static String SERVICE_URL_TOSCA_CSAR = "/v3/serviceToscaCsar";
+    private static String SERVICE_URL_TOSCA_CSAR = "/v3/serviceToscaCsar";
 
     private static MsoLogger LOGGER = MsoLogger.getMsoLogger(MsoLogger.Catalog.RA, ResourceRequestBuilder.class);