Mdc.java-return the expression 32/97932/1
authorThugutla sailakshmi <tsaila10@in.ibm.com>
Tue, 5 Nov 2019 04:34:02 +0000 (10:04 +0530)
committerThugutla sailakshmi <tsaila10@in.ibm.com>
Tue, 5 Nov 2019 04:38:03 +0000 (10:08 +0530)
Issue-ID: OPTFRA-578
Change-Id: If9e6f97c9c7a0f0960fc58354b23829d84663c41
Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
cmso-robot/red.xml [deleted file]
cmso-ticketmgt/src/main/java/org/onap/observations/Mdc.java

diff --git a/cmso-robot/red.xml b/cmso-robot/red.xml
deleted file mode 100644 (file)
index 2936755..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<!--
-  Copyright © 2017-2019 AT&T Intellectual Property.
-  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.
-  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.
-  
-  
-  Unless otherwise specified, all documentation contained herein is licensed
-  under the Creative Commons License, Attribution 4.0 Intl. (the "License");
-  you may not use this documentation except in compliance with the License.
-  You may obtain a copy of the License at
-  
-          https://creativecommons.org/licenses/by/4.0/
-  
-  Unless required by applicable law or agreed to in writing, documentation
-  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.
--->
-<projectConfiguration>
-    <configVersion>1</configVersion>
-    <relativeTo>WORKSPACE</relativeTo>
-    <referencedLibrary type="PYTHON" name="RequestsLibrary" path="cmso-robot/library"/>
-    <referencedLibrary type="PYTHON" name="SeleniumLibrary" path="cmso-robot/library"/>
-    <referencedLibrary type="PYTHON" name="selenium" path="cmso-robot/library"/>
-    <referencedLibrary type="PYTHON" name="SSHLibrary" path="cmso-robot/library"/>
-    <referencedLibrary type="PYTHON" name="StringTemplater" path="cmso-robot/robot/locallibrary/cmsoUtils"/>
-    <referencedLibrary type="PYTHON" name="UUID" path="cmso-robot/robot/locallibrary/cmsoUtils"/>
-    <referencedLibrary type="PYTHON" name="OSUtils" path="cmso-robot/robot/locallibrary/cmsoUtils"/>
-    <referencedLibrary type="PYTHON" name="HTTPUtils" path="cmso-robot/robot/locallibrary/cmsoUtils"/>
-    <referencedLibrary type="PYTHON" name="JSONUtils" path="cmso-robot/robot/locallibrary/cmsoUtils"/>
-    
-    <pythonpath>
-       <path location="cmso-robot/library"/>
-    </pythonpath>
-    <classpath/>
-    <variableFiles path="cmso-robot/robot/assets/test_properties.py"/>
-    
-    <excludedForValidation/>
-    <isValidatedFileSizeCheckingEnabled>true</isValidatedFileSizeCheckingEnabled>
-    <validatedFileMaxSize>1024</validatedFileMaxSize>
-    <isReferencedLibrariesAutoReloadEnabled>true</isReferencedLibrariesAutoReloadEnabled>
-    <isReferencedLibrariesAutoDiscoveringEnabled>true</isReferencedLibrariesAutoDiscoveringEnabled>
-    <isLibrariesAutoDiscoveringSummaryWindowEnabled>false</isLibrariesAutoDiscoveringSummaryWindowEnabled>
-</projectConfiguration>
index 41fd3df..5109b70 100644 (file)
@@ -144,8 +144,7 @@ public class Mdc {
      * @return the map
      */
     public static Map<String, String> save() {
-        Map<String, String> save = MDC.getCopyOfContextMap();
-        return save;
+        return MDC.getCopyOfContextMap();
     }
 
     /**