diff options
author | Pooja03 <PM00501616@techmahindra.com> | 2018-02-12 11:52:44 +0530 |
---|---|---|
committer | Pooja03 <PM00501616@techmahindra.com> | 2018-02-12 11:52:44 +0530 |
commit | dfcb3d976f383a68385d9afa9bc7cf5fd6085405 (patch) | |
tree | a9f71f0a7a5e47387c9b2ae3632fbd5b605b3726 /src/main | |
parent | c7a371db4e3c52f56a4c8d30169e7b60ce032918 (diff) |
Sonar Minor fix
Move the constructor to comply with Java Code Conventions
Sonar Link:https://sonar.onap.org/project/issues?assignees=Pooja03&id=org.onap.dcaegen2.platform%3Ainventory-api&open=AWEPiFEV-08if2a6xy-w&resolved=false
Location:DCAEControllerClient.java:L216
Change-Id: Icecca34621dac211a5fc409363dae40a5c3c6944
Issue-ID: DCAEGEN2-326
Signed-off-by: Pooja03 <PM00501616@techmahindra.com>
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/onap/dcae/inventory/clients/DCAEControllerClient.java | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/main/java/org/onap/dcae/inventory/clients/DCAEControllerClient.java b/src/main/java/org/onap/dcae/inventory/clients/DCAEControllerClient.java index a97aa9e..87cd7b5 100644 --- a/src/main/java/org/onap/dcae/inventory/clients/DCAEControllerClient.java +++ b/src/main/java/org/onap/dcae/inventory/clients/DCAEControllerClient.java @@ -139,6 +139,11 @@ public class DCAEControllerClient { private final Client client; private final InventoryConfiguration.DCAEControllerConnectionConfiguration connectionConfiguration; + public DCAEControllerClient(Client client, + InventoryConfiguration.DCAEControllerConnectionConfiguration connectionConfiguration) { + this.client = client; + this.connectionConfiguration = connectionConfiguration; + } public URI constructResourceURI(String resourcePath) { // TODO: Better way to construct this? @@ -213,10 +218,6 @@ public class DCAEControllerClient { } } - public DCAEControllerClient(Client client, - InventoryConfiguration.DCAEControllerConnectionConfiguration connectionConfiguration) { - this.client = client; - this.connectionConfiguration = connectionConfiguration; - } + } |