diff options
author | Seshu Kumar M <seshu.kumar.m@huawei.com> | 2019-04-17 04:43:57 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-04-17 04:43:57 +0000 |
commit | 39bead8d87c54140fe346e1f7459d4b315a1a4df (patch) | |
tree | f63521b617b3a6c88be02cfc9f65110fec913603 | |
parent | 3b3f44756f22a01ff44b2ce6dcfa5e55293163d4 (diff) | |
parent | b08e02eb83f43c722e318595aefa965374afb289 (diff) |
Merge "Code Enhancement (Sonar Fixes)"
2 files changed, 11 insertions, 11 deletions
diff --git a/nova-client/src/main/java/com/woorea/openstack/nova/api/extensions/HostsExtension.java b/nova-client/src/main/java/com/woorea/openstack/nova/api/extensions/HostsExtension.java index f5a0693..b9c6db4 100644 --- a/nova-client/src/main/java/com/woorea/openstack/nova/api/extensions/HostsExtension.java +++ b/nova-client/src/main/java/com/woorea/openstack/nova/api/extensions/HostsExtension.java @@ -24,17 +24,17 @@ import com.woorea.openstack.nova.model.Host; import com.woorea.openstack.nova.model.Hosts; public class HostsExtension { - + private final OpenStackClient CLIENT; - + public HostsExtension(OpenStackClient client) { CLIENT = client; } - + public List list() { return new List(); } - + public Show show(String id) { return new Show(id); } @@ -48,13 +48,13 @@ public class HostsExtension { } public class Show extends OpenStackRequest<Host> { - + public Show(String id) { super(CLIENT, HttpMethod.GET, new StringBuffer("/os-hosts/").append(id).toString(), null, Host.class); } - + } - - -} + + +}
\ No newline at end of file diff --git a/nova-client/src/main/java/com/woorea/openstack/nova/api/extensions/HypervisorsExtension.java b/nova-client/src/main/java/com/woorea/openstack/nova/api/extensions/HypervisorsExtension.java index 9561601..8331f1f 100644 --- a/nova-client/src/main/java/com/woorea/openstack/nova/api/extensions/HypervisorsExtension.java +++ b/nova-client/src/main/java/com/woorea/openstack/nova/api/extensions/HypervisorsExtension.java @@ -16,6 +16,6 @@ package com.woorea.openstack.nova.api.extensions; -public class HypervisorsExtension { +public interface HypervisorsExtension { -} +}
\ No newline at end of file |