diff options
author | Li Zi <li.zi30@zte.com.cn> | 2018-01-30 01:14:48 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-01-30 01:14:48 +0000 |
commit | 031f91bada11ac58f5ccba64c9588c94c7996bab (patch) | |
tree | c843bcac0df27d618856e1be77fdd6b54809d92b /esr-mgr | |
parent | 261a5b36c80fb94dccaa23b868f5ef0d71463134 (diff) | |
parent | 4d2e7d006e7f3a166bb883b7a3d8ba223d0f8625 (diff) |
Merge "Move string literal to left side of comparison"
Diffstat (limited to 'esr-mgr')
-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); |