From a9bc456b0de6ad5158665f960e4860269544ce46 Mon Sep 17 00:00:00 2001 From: seshukm Date: Wed, 25 Jul 2018 18:10:37 +0800 Subject: fix isues in keystone Issue-ID: SO-729 Change-Id: I34034515d873fee47ef313fcd33838b220b8705d Signed-off-by: seshukm --- .../openstack/keystone/api/EndpointsResource.java | 108 ++++++++++----------- 1 file changed, 54 insertions(+), 54 deletions(-) (limited to 'keystone-client/src/main/java/com/woorea/openstack/keystone/api/EndpointsResource.java') diff --git a/keystone-client/src/main/java/com/woorea/openstack/keystone/api/EndpointsResource.java b/keystone-client/src/main/java/com/woorea/openstack/keystone/api/EndpointsResource.java index 9b1580c..db970a5 100644 --- a/keystone-client/src/main/java/com/woorea/openstack/keystone/api/EndpointsResource.java +++ b/keystone-client/src/main/java/com/woorea/openstack/keystone/api/EndpointsResource.java @@ -25,63 +25,63 @@ import com.woorea.openstack.keystone.model.Endpoint; import com.woorea.openstack.keystone.model.Endpoints; public class EndpointsResource { - - private OpenStackClient client; - - public EndpointsResource(OpenStackClient client) { - this.client = client; - } - - public List list() { - return new List(); - } - - public Create create(Endpoint endpoint) { - return new Create(endpoint); - } - - public Show show(String id) { - return new Show(id); - } + + private OpenStackClient client; + + public EndpointsResource(OpenStackClient client) { + this.client = client; + } + + public List list() { + return new List(); + } + + public Create create(Endpoint endpoint) { + return new Create(endpoint); + } + + public Show show(String id) { + return new Show(id); + } - - public Delete delete(String id) { - return new Delete(id); - } + + public Delete delete(String id) { + return new Delete(id); + } - public class List extends OpenStackRequest { - - public List() { - super(client, HttpMethod.GET, "/endpoints", null, Endpoints.class); - } + public class List extends OpenStackRequest { + + public List() { + super(client, HttpMethod.GET, "/endpoints", null, Endpoints.class); + } - } - - public class Create extends OpenStackRequest { + } + + public class Create extends OpenStackRequest { - private Endpoint endpoint; - - public Create(Endpoint endpoint) { - super(client, HttpMethod.POST, "/endpoints", Entity.json(endpoint), Endpoint.class); - this.endpoint = endpoint; - } - - } - - public class Show extends OpenStackRequest { - - public Show(String id) { - super(client, HttpMethod.GET, new StringBuilder("/endpoints/").append(id).toString(), null, Endpoint.class); - } + private Endpoint endpoint; + + public Create(Endpoint endpoint) { + super(client, HttpMethod.POST, "/endpoints", Entity.json(endpoint), Endpoint.class); + this.endpoint = endpoint; + } + + } + + public class Show extends OpenStackRequest { + + public Show(String id) { + super(client, HttpMethod.GET, new StringBuilder("/endpoints/").append(id).toString(), null, Endpoint.class); + } - } - - public class Delete extends OpenStackRequest { - - public Delete(String id) { - super(client, HttpMethod.DELETE, new StringBuilder("/endpoints/").append(id).toString(), null, Void.class); - } - - } - + } + + public class Delete extends OpenStackRequest { + + public Delete(String id) { + super(client, HttpMethod.DELETE, new StringBuilder("/endpoints/").append(id).toString(), null, Void.class); + } + + } + } -- cgit 1.2.3-korg