diff options
author | Parshad Patel <pars.patel@samsung.com> | 2020-03-19 15:21:18 +0900 |
---|---|---|
committer | Parshad Patel <pars.patel@samsung.com> | 2020-03-23 11:35:57 +0900 |
commit | bd8667e2f9a930951c14b4c5ea07b60fdcd582a1 (patch) | |
tree | 6bd95e26a110e8cd3e7a91017df531474c66cf6a /adapters/mso-sdnc-adapter/src/test/java/org | |
parent | d9769c584535ca99fedd6d548f0cd31320890111 (diff) |
Fix sonar issues
The Cyclomatic Complexity of this method is greater than 10 authorized
Remove unused fields
Issue-ID: SO-1841
Change-Id: I792e02a3843623b1a93d5a272946ad79a07373f8
Signed-off-by: Parshad Patel <pars.patel@samsung.com>
Diffstat (limited to 'adapters/mso-sdnc-adapter/src/test/java/org')
-rw-r--r-- | adapters/mso-sdnc-adapter/src/test/java/org/onap/so/adapters/sdnc/sdncrest/SDNCServiceRequestConnectorTest.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/adapters/mso-sdnc-adapter/src/test/java/org/onap/so/adapters/sdnc/sdncrest/SDNCServiceRequestConnectorTest.java b/adapters/mso-sdnc-adapter/src/test/java/org/onap/so/adapters/sdnc/sdncrest/SDNCServiceRequestConnectorTest.java index 9911cae677..9adc6c52f5 100644 --- a/adapters/mso-sdnc-adapter/src/test/java/org/onap/so/adapters/sdnc/sdncrest/SDNCServiceRequestConnectorTest.java +++ b/adapters/mso-sdnc-adapter/src/test/java/org/onap/so/adapters/sdnc/sdncrest/SDNCServiceRequestConnectorTest.java @@ -7,9 +7,9 @@ * 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. @@ -31,7 +31,8 @@ public class SDNCServiceRequestConnectorTest { public void parseResponseContentTest() throws Exception { String content = FileUtil.readResourceFile("SdncServiceResponse.xml"); - SDNCResponseCommon responseCommon = SDNCServiceRequestConnector.parseResponseContent(content); + SDNCServiceRequestConnector sdncServiceRequestConnector = new SDNCServiceRequestConnector(); + SDNCResponseCommon responseCommon = sdncServiceRequestConnector.parseResponseContent(content); assertNotNull(responseCommon); } |