diff options
author | Thugutla sailakshmi <tsaila10@in.ibm.com> | 2019-11-05 10:04:02 +0530 |
---|---|---|
committer | Thugutla sailakshmi <tsaila10@in.ibm.com> | 2019-11-05 10:08:03 +0530 |
commit | 23c03ae7e51a4f9825cab4f29711c446112c2432 (patch) | |
tree | 796d70853da691440835f70314c7dd0d583034a8 | |
parent | 8f9976f2db7221fec425ff64e55bbedb6504ed20 (diff) |
Mdc.java-return the expression
Issue-ID: OPTFRA-578
Change-Id: If9e6f97c9c7a0f0960fc58354b23829d84663c41
Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
-rw-r--r-- | cmso-robot/red.xml | 57 | ||||
-rw-r--r-- | cmso-ticketmgt/src/main/java/org/onap/observations/Mdc.java | 3 |
2 files changed, 1 insertions, 59 deletions
diff --git a/cmso-robot/red.xml b/cmso-robot/red.xml deleted file mode 100644 index 2936755..0000000 --- a/cmso-robot/red.xml +++ /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> diff --git a/cmso-ticketmgt/src/main/java/org/onap/observations/Mdc.java b/cmso-ticketmgt/src/main/java/org/onap/observations/Mdc.java index 41fd3df..5109b70 100644 --- a/cmso-ticketmgt/src/main/java/org/onap/observations/Mdc.java +++ b/cmso-ticketmgt/src/main/java/org/onap/observations/Mdc.java @@ -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(); } /** |