From 1beb9d7e9d042eeec06fb0b710e8ba22f4ae29b3 Mon Sep 17 00:00:00 2001 From: "Sindhuri.A" Date: Wed, 17 Apr 2019 18:40:18 +0530 Subject: modify array declare, removed unused import modified array declaration,removed unused import and changed variable name Issue-ID: SO-1490 Change-Id: I240a6912bdc3a913a279166ef92e2a2ea0d75873 Signed-off-by: Sindhuri.A --- .../openstack/ceilometer/v2/api/MetersResource.java | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'ceilometer-client/src/main/java/com') 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> { private String name; + public Statistics() { + + } + public Statistics name(String name) { this.name = name; return this; } - public Statistics() { - - } - } } \ No newline at end of file -- cgit 1.2.3-korg