summaryrefslogtreecommitdiffstats
path: root/nova-client/src/main/java/com
diff options
context:
space:
mode:
authorIsaac Manuel Raj <isaac.manuelraj@huawei.com>2019-04-12 16:09:18 +0530
committerIsaac Manuel Raj <isaac.manuelraj@huawei.com>2019-04-16 13:34:44 +0000
commitb08e02eb83f43c722e318595aefa965374afb289 (patch)
treee8b5cdc864565e9afcec7a3ae7b5dbedb7e87b19 /nova-client/src/main/java/com
parent226c37657808fa22336940e9be49147809f41710 (diff)
Code Enhancement (Sonar Fixes)
Sonar Issues Fixes Issue-ID: SO-1490 Change-Id: I8ebbaf62e919140b510b2c5a05eb2fbad821e1f9 Signed-off-by: Isaac Manuel Raj <isaac.manuelraj@huawei.com>
Diffstat (limited to 'nova-client/src/main/java/com')
-rw-r--r--nova-client/src/main/java/com/woorea/openstack/nova/api/extensions/HostsExtension.java18
-rw-r--r--nova-client/src/main/java/com/woorea/openstack/nova/api/extensions/HypervisorsExtension.java4
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