diff options
author | Byung-Woo Jun <byung-woo.jun@ericsson.com> | 2018-09-04 11:37:27 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-09-04 11:37:27 +0000 |
commit | db6e6e6fa12b144b2d500ac2c5cc5e8164c20c5f (patch) | |
tree | 8c26732a5e908995d4912128c5c7222bda34781f /adapters/mso-sdnc-adapter/src/main/java/org | |
parent | 2d5bf3cdbecc37e08db3d29ee8097874715321d6 (diff) | |
parent | 6d9fc5078948e3dc260d318e6b57a2f68f1d2478 (diff) |
Merge "fixed sonar issue in MapRequestTunables.java"
Diffstat (limited to 'adapters/mso-sdnc-adapter/src/main/java/org')
-rw-r--r-- | adapters/mso-sdnc-adapter/src/main/java/org/onap/so/adapters/sdnc/impl/MapRequestTunables.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/adapters/mso-sdnc-adapter/src/main/java/org/onap/so/adapters/sdnc/impl/MapRequestTunables.java b/adapters/mso-sdnc-adapter/src/main/java/org/onap/so/adapters/sdnc/impl/MapRequestTunables.java index b456fb2336..a5800fc73d 100644 --- a/adapters/mso-sdnc-adapter/src/main/java/org/onap/so/adapters/sdnc/impl/MapRequestTunables.java +++ b/adapters/mso-sdnc-adapter/src/main/java/org/onap/so/adapters/sdnc/impl/MapRequestTunables.java @@ -4,6 +4,8 @@ * ================================================================================ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. * ================================================================================ + * Modifications Copyright (C) 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 @@ -87,7 +89,7 @@ public class MapRequestTunables { } } - if (reqTunable.getSdncUrl() == null || reqTunable.getSdncUrl().equals("")) { + if (reqTunable.getSdncUrl() == null || ("").equals(reqTunable.getSdncUrl())) { error = "Invalid configuration, sdncUrl required for:" + key + " value:" + value; } } else { |