From e5127ffd9a8c0821788e59b79fcb48f44519596f Mon Sep 17 00:00:00 2001 From: Adam Lowe Date: Fri, 1 Jun 2012 23:35:46 +0100 Subject: [PATCH] openstack-quantum: addressing review comments --- .../openstack/quantum/v1_0/features/NetworkClient.java | 6 +++--- .../openstack/quantum/v1_0/features/PortClient.java | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/labs/openstack-quantum/src/main/java/org/jclouds/openstack/quantum/v1_0/features/NetworkClient.java b/labs/openstack-quantum/src/main/java/org/jclouds/openstack/quantum/v1_0/features/NetworkClient.java index 7ea23268a0..70c93a136f 100644 --- a/labs/openstack-quantum/src/main/java/org/jclouds/openstack/quantum/v1_0/features/NetworkClient.java +++ b/labs/openstack-quantum/src/main/java/org/jclouds/openstack/quantum/v1_0/features/NetworkClient.java @@ -67,15 +67,15 @@ public interface NetworkClient { Reference create(String name); /** - * Updates the symbolic name of a network + * Adjusts the symbolic name of a network * * @param id the id of the Network to modify * @param name the new name for the Network */ - Boolean rename(String id, String name); + boolean rename(String id, String name); /** * Deletes the specified network */ - Boolean delete(String id); + boolean delete(String id); } diff --git a/labs/openstack-quantum/src/main/java/org/jclouds/openstack/quantum/v1_0/features/PortClient.java b/labs/openstack-quantum/src/main/java/org/jclouds/openstack/quantum/v1_0/features/PortClient.java index 155e19f2f4..9666da697c 100644 --- a/labs/openstack-quantum/src/main/java/org/jclouds/openstack/quantum/v1_0/features/PortClient.java +++ b/labs/openstack-quantum/src/main/java/org/jclouds/openstack/quantum/v1_0/features/PortClient.java @@ -74,12 +74,12 @@ public interface PortClient { /** * Updates the state of a port */ - Boolean updateState(String id, Port.State state); + boolean updateState(String id, Port.State state); /** * Deletes a port from a network */ - Boolean delete(String id); + boolean delete(String id); /** * Returns the attachment for the specified port. @@ -89,10 +89,10 @@ public interface PortClient { /** * Plugs an attachment into the specified port */ - Boolean plugAttachment(String portId, String attachmentId); + boolean plugAttachment(String portId, String attachmentId); /** * Unplugs the attachment currently plugged into the specified port */ - Boolean unplugAttachment(String portId); + boolean unplugAttachment(String portId); }