diff options
author | Seshu Kumar M <seshu.kumar.m@huawei.com> | 2019-04-17 14:45:17 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-04-17 14:45:17 +0000 |
commit | 9ac00f70f99e55d476aa6626ed0de9305f27a38e (patch) | |
tree | 774ffc962ed90e7ab597a2fa2078784019f2f22c /ceilometer-client/src/main/java | |
parent | 6228fe2c25252c930f507ccc889cb581ca2aad51 (diff) | |
parent | 1beb9d7e9d042eeec06fb0b710e8ba22f4ae29b3 (diff) |
Merge "modify array declare, removed unused import"
Diffstat (limited to 'ceilometer-client/src/main/java')
-rw-r--r-- | ceilometer-client/src/main/java/com/woorea/openstack/ceilometer/v2/api/MetersResource.java | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/ceilometer-client/src/main/java/com/woorea/openstack/ceilometer/v2/api/MetersResource.java b/ceilometer-client/src/main/java/com/woorea/openstack/ceilometer/v2/api/MetersResource.java index df17c82..ae8f085 100644 --- a/ceilometer-client/src/main/java/com/woorea/openstack/ceilometer/v2/api/MetersResource.java +++ b/ceilometer-client/src/main/java/com/woorea/openstack/ceilometer/v2/api/MetersResource.java @@ -18,16 +18,15 @@ package com.woorea.openstack.ceilometer.v2.api; import com.woorea.openstack.base.client.OpenStackClient; -import com.woorea.openstack.base.client.OpenStackRequest; import com.woorea.openstack.ceilometer.QueriableCeilometerCommand; import com.woorea.openstack.ceilometer.v2.model.Sample; public class MetersResource { - private final OpenStackClient CLIENT; + private final OpenStackClient client; public MetersResource(OpenStackClient client) { - CLIENT = client; + this.client = client; } public List list() { @@ -52,30 +51,30 @@ public class MetersResource { private String name; + public Show() { + + } + public Show name(String name) { this.name = name; return this; } - public Show() { - - } - } public class Statistics extends QueriableCeilometerCommand<Statistics, java.util.List<Statistics>> { private String name; + public Statistics() { + + } + public Statistics name(String name) { this.name = name; return this; } - public Statistics() { - - } - } }
\ No newline at end of file |