diff options
author | Swapnali Pode <SP00501638@techmahindra.com> | 2018-01-24 12:23:22 +0530 |
---|---|---|
committer | Swapnali Pode <SP00501638@techmahindra.com> | 2018-01-24 12:31:39 +0530 |
commit | 4d2e7d006e7f3a166bb883b7a3d8ba223d0f8625 (patch) | |
tree | d510527cf331223ad0941a46d0e2e979a9ee2a2c /esr-mgr/src | |
parent | 41d59ecbd847f49c30d33941289c69ad5e2a1c62 (diff) |
Move string literal to left side of comparison
Move true string literal on the left side of this string comparison
ExtsysApp.java:L56
Sonar Link:
https://sonar.onap.org/component_issues/index?id=org.onap.aai.esr-server%3Aaai-esr-server#resolved=false|assignees=swapnalipode
Location:
src/main/java/org/onap/aai/esr/ExtsysApp.java
Change-Id: I82e43ca7a68322c6d409ecc113932e289721c374
Issue-ID: AAI-691
Signed-off-by: Swapnali Pode <SP00501638@techmahindra.com>
Diffstat (limited to 'esr-mgr/src')
-rw-r--r-- | esr-mgr/src/main/java/org/onap/aai/esr/ExtsysApp.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/esr-mgr/src/main/java/org/onap/aai/esr/ExtsysApp.java b/esr-mgr/src/main/java/org/onap/aai/esr/ExtsysApp.java index 5b1f6cd..358fb07 100644 --- a/esr-mgr/src/main/java/org/onap/aai/esr/ExtsysApp.java +++ b/esr-mgr/src/main/java/org/onap/aai/esr/ExtsysApp.java @@ -53,7 +53,7 @@ public class ExtsysApp extends Application<ExtsysAppConfiguration> { environment.jersey().register(new VimManager()); environment.jersey().register(new VnfmManager()); environment.jersey().register(new ServiceTest()); - if (configuration.getRegistByHand().equals("true")) { + if ("true".equals(configuration.getRegistByHand())) { String MSB_IP = configuration.getMsbDiscoveryIp(); Integer MSB_Port = Integer.valueOf(configuration.getMsbDiscoveryPort()); MSBServiceClient msbClient = new MSBServiceClient(MSB_IP, MSB_Port); |