http://git-wip-us.apache.org/repos/asf/cloudstack/blob/be5e5cc6/deps/XenServerJava/src/com/xensource/xenapi/PoolPatch.java
----------------------------------------------------------------------
diff --git a/deps/XenServerJava/src/com/xensource/xenapi/PoolPatch.java 
b/deps/XenServerJava/src/com/xensource/xenapi/PoolPatch.java
index 750a9f3..7361bc7 100644
--- a/deps/XenServerJava/src/com/xensource/xenapi/PoolPatch.java
+++ b/deps/XenServerJava/src/com/xensource/xenapi/PoolPatch.java
@@ -28,7 +28,6 @@
  * OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-
 package com.xensource.xenapi;
 
 import com.xensource.xenapi.Types.BadServerResponse;
@@ -61,14 +60,14 @@ public class PoolPatch extends XenAPIObject {
      * For internal use only.
      */
     PoolPatch(String ref) {
-       this.ref = ref;
+        this.ref = ref;
     }
 
     /**
      * @return The XenAPI reference (OpaqueRef) to this object.
      */
     public String toWireString() {
-       return this.ref;
+        return this.ref;
     }
 
     /**
@@ -79,7 +78,7 @@ public class PoolPatch extends XenAPIObject {
     {
         if (obj != null && obj instanceof PoolPatch)
         {
-            PoolPatch other = (PoolPatch) obj;
+            PoolPatch other = (PoolPatch)obj;
             return other.ref.equals(this.ref);
         } else
         {
@@ -115,8 +114,8 @@ public class PoolPatch extends XenAPIObject {
         /**
          * Convert a pool_patch.Record to a Map
          */
-        public Map<String,Object> toMap() {
-            Map<String,Object> map = new HashMap<String,Object>();
+        public Map<String, Object> toMap() {
+            Map<String, Object> map = new HashMap<String, Object>();
             map.put("uuid", this.uuid == null ? "" : this.uuid);
             map.put("name_label", this.nameLabel == null ? "" : 
this.nameLabel);
             map.put("name_description", this.nameDescription == null ? "" : 
this.nameDescription);
@@ -173,15 +172,15 @@ public class PoolPatch extends XenAPIObject {
      * @return all fields from the object
      */
     public PoolPatch.Record getRecord(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "pool_patch.get_record";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toPoolPatchRecord(result);
+        return Types.toPoolPatchRecord(result);
     }
 
     /**
@@ -191,15 +190,15 @@ public class PoolPatch extends XenAPIObject {
      * @return reference to the object
      */
     public static PoolPatch getByUuid(Connection c, String uuid) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "pool_patch.get_by_uuid";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(uuid)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toPoolPatch(result);
+        return Types.toPoolPatch(result);
     }
 
     /**
@@ -209,15 +208,15 @@ public class PoolPatch extends XenAPIObject {
      * @return references to objects with matching names
      */
     public static Set<PoolPatch> getByNameLabel(Connection c, String label) 
throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "pool_patch.get_by_name_label";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(label)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toSetOfPoolPatch(result);
+        return Types.toSetOfPoolPatch(result);
     }
 
     /**
@@ -226,15 +225,15 @@ public class PoolPatch extends XenAPIObject {
      * @return value of the field
      */
     public String getUuid(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "pool_patch.get_uuid";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toString(result);
+        return Types.toString(result);
     }
 
     /**
@@ -243,15 +242,15 @@ public class PoolPatch extends XenAPIObject {
      * @return value of the field
      */
     public String getNameLabel(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "pool_patch.get_name_label";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toString(result);
+        return Types.toString(result);
     }
 
     /**
@@ -260,15 +259,15 @@ public class PoolPatch extends XenAPIObject {
      * @return value of the field
      */
     public String getNameDescription(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "pool_patch.get_name_description";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toString(result);
+        return Types.toString(result);
     }
 
     /**
@@ -277,15 +276,15 @@ public class PoolPatch extends XenAPIObject {
      * @return value of the field
      */
     public String getVersion(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "pool_patch.get_version";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toString(result);
+        return Types.toString(result);
     }
 
     /**
@@ -294,15 +293,15 @@ public class PoolPatch extends XenAPIObject {
      * @return value of the field
      */
     public Long getSize(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "pool_patch.get_size";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toLong(result);
+        return Types.toLong(result);
     }
 
     /**
@@ -311,15 +310,15 @@ public class PoolPatch extends XenAPIObject {
      * @return value of the field
      */
     public Boolean getPoolApplied(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "pool_patch.get_pool_applied";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toBoolean(result);
+        return Types.toBoolean(result);
     }
 
     /**
@@ -328,15 +327,15 @@ public class PoolPatch extends XenAPIObject {
      * @return value of the field
      */
     public Set<HostPatch> getHostPatches(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "pool_patch.get_host_patches";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toSetOfHostPatch(result);
+        return Types.toSetOfHostPatch(result);
     }
 
     /**
@@ -345,15 +344,15 @@ public class PoolPatch extends XenAPIObject {
      * @return value of the field
      */
     public Set<Types.AfterApplyGuidance> getAfterApplyGuidance(Connection c) 
throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "pool_patch.get_after_apply_guidance";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toSetOfAfterApplyGuidance(result);
+        return Types.toSetOfAfterApplyGuidance(result);
     }
 
     /**
@@ -362,15 +361,15 @@ public class PoolPatch extends XenAPIObject {
      * @return value of the field
      */
     public Map<String, String> getOtherConfig(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "pool_patch.get_other_config";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toMapOfStringString(result);
+        return Types.toMapOfStringString(result);
     }
 
     /**
@@ -379,9 +378,9 @@ public class PoolPatch extends XenAPIObject {
      * @param otherConfig New value to set
      */
     public void setOtherConfig(Connection c, Map<String, String> otherConfig) 
throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "pool_patch.set_other_config";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref), Marshalling.toXMLRPC(otherConfig)};
@@ -396,9 +395,9 @@ public class PoolPatch extends XenAPIObject {
      * @param value Value to add
      */
     public void addToOtherConfig(Connection c, String key, String value) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "pool_patch.add_to_other_config";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref), Marshalling.toXMLRPC(key), 
Marshalling.toXMLRPC(value)};
@@ -412,9 +411,9 @@ public class PoolPatch extends XenAPIObject {
      * @param key Key to remove
      */
     public void removeFromOtherConfig(Connection c, String key) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "pool_patch.remove_from_other_config";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref), Marshalling.toXMLRPC(key)};
@@ -429,9 +428,9 @@ public class PoolPatch extends XenAPIObject {
      * @return Task
      */
     public Task applyAsync(Connection c, Host host) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "Async.pool_patch.apply";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref), Marshalling.toXMLRPC(host)};
@@ -447,15 +446,15 @@ public class PoolPatch extends XenAPIObject {
      * @return the output of the patch application process
      */
     public String apply(Connection c, Host host) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "pool_patch.apply";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref), Marshalling.toXMLRPC(host)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toString(result);
+        return Types.toString(result);
     }
 
     /**
@@ -464,9 +463,9 @@ public class PoolPatch extends XenAPIObject {
      * @return Task
      */
     public Task poolApplyAsync(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "Async.pool_patch.pool_apply";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref)};
@@ -480,9 +479,9 @@ public class PoolPatch extends XenAPIObject {
      *
      */
     public void poolApply(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "pool_patch.pool_apply";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref)};
@@ -497,9 +496,9 @@ public class PoolPatch extends XenAPIObject {
      * @return Task
      */
     public Task precheckAsync(Connection c, Host host) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "Async.pool_patch.precheck";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref), Marshalling.toXMLRPC(host)};
@@ -515,15 +514,15 @@ public class PoolPatch extends XenAPIObject {
      * @return the output of the patch prechecks
      */
     public String precheck(Connection c, Host host) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "pool_patch.precheck";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref), Marshalling.toXMLRPC(host)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toString(result);
+        return Types.toString(result);
     }
 
     /**
@@ -532,9 +531,9 @@ public class PoolPatch extends XenAPIObject {
      * @return Task
      */
     public Task cleanAsync(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "Async.pool_patch.clean";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref)};
@@ -548,9 +547,9 @@ public class PoolPatch extends XenAPIObject {
      *
      */
     public void clean(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "pool_patch.clean";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref)};
@@ -564,9 +563,9 @@ public class PoolPatch extends XenAPIObject {
      * @return Task
      */
     public Task poolCleanAsync(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "Async.pool_patch.pool_clean";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref)};
@@ -580,9 +579,9 @@ public class PoolPatch extends XenAPIObject {
      *
      */
     public void poolClean(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "pool_patch.pool_clean";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref)};
@@ -596,9 +595,9 @@ public class PoolPatch extends XenAPIObject {
      * @return Task
      */
     public Task destroyAsync(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "Async.pool_patch.destroy";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref)};
@@ -612,9 +611,9 @@ public class PoolPatch extends XenAPIObject {
      *
      */
     public void destroy(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "pool_patch.destroy";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref)};
@@ -629,9 +628,9 @@ public class PoolPatch extends XenAPIObject {
      * @return Task
      */
     public Task cleanOnHostAsync(Connection c, Host host) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "Async.pool_patch.clean_on_host";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref), Marshalling.toXMLRPC(host)};
@@ -646,9 +645,9 @@ public class PoolPatch extends XenAPIObject {
      * @param host The host on which to clean the patch
      */
     public void cleanOnHost(Connection c, Host host) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "pool_patch.clean_on_host";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref), Marshalling.toXMLRPC(host)};
@@ -662,15 +661,15 @@ public class PoolPatch extends XenAPIObject {
      * @return references to all objects
      */
     public static Set<PoolPatch> getAll(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "pool_patch.get_all";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toSetOfPoolPatch(result);
+        return Types.toSetOfPoolPatch(result);
     }
 
     /**
@@ -679,15 +678,15 @@ public class PoolPatch extends XenAPIObject {
      * @return records of all objects
      */
     public static Map<PoolPatch, PoolPatch.Record> getAllRecords(Connection c) 
throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "pool_patch.get_all_records";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toMapOfPoolPatchPoolPatchRecord(result);
+        return Types.toMapOfPoolPatchPoolPatchRecord(result);
     }
 
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/be5e5cc6/deps/XenServerJava/src/com/xensource/xenapi/Role.java
----------------------------------------------------------------------
diff --git a/deps/XenServerJava/src/com/xensource/xenapi/Role.java 
b/deps/XenServerJava/src/com/xensource/xenapi/Role.java
index f8dea77..5808b13 100644
--- a/deps/XenServerJava/src/com/xensource/xenapi/Role.java
+++ b/deps/XenServerJava/src/com/xensource/xenapi/Role.java
@@ -28,7 +28,6 @@
  * OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-
 package com.xensource.xenapi;
 
 import com.xensource.xenapi.Types.BadServerResponse;
@@ -61,14 +60,14 @@ public class Role extends XenAPIObject {
      * For internal use only.
      */
     Role(String ref) {
-       this.ref = ref;
+        this.ref = ref;
     }
 
     /**
      * @return The XenAPI reference (OpaqueRef) to this object.
      */
     public String toWireString() {
-       return this.ref;
+        return this.ref;
     }
 
     /**
@@ -79,7 +78,7 @@ public class Role extends XenAPIObject {
     {
         if (obj != null && obj instanceof Role)
         {
-            Role other = (Role) obj;
+            Role other = (Role)obj;
             return other.ref.equals(this.ref);
         } else
         {
@@ -110,8 +109,8 @@ public class Role extends XenAPIObject {
         /**
          * Convert a role.Record to a Map
          */
-        public Map<String,Object> toMap() {
-            Map<String,Object> map = new HashMap<String,Object>();
+        public Map<String, Object> toMap() {
+            Map<String, Object> map = new HashMap<String, Object>();
             map.put("uuid", this.uuid == null ? "" : this.uuid);
             map.put("name_label", this.nameLabel == null ? "" : 
this.nameLabel);
             map.put("name_description", this.nameDescription == null ? "" : 
this.nameDescription);
@@ -143,15 +142,15 @@ public class Role extends XenAPIObject {
      * @return all fields from the object
      */
     public Role.Record getRecord(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "role.get_record";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toRoleRecord(result);
+        return Types.toRoleRecord(result);
     }
 
     /**
@@ -161,15 +160,15 @@ public class Role extends XenAPIObject {
      * @return reference to the object
      */
     public static Role getByUuid(Connection c, String uuid) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "role.get_by_uuid";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(uuid)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toRole(result);
+        return Types.toRole(result);
     }
 
     /**
@@ -179,15 +178,15 @@ public class Role extends XenAPIObject {
      * @return references to objects with matching names
      */
     public static Set<Role> getByNameLabel(Connection c, String label) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "role.get_by_name_label";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(label)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toSetOfRole(result);
+        return Types.toSetOfRole(result);
     }
 
     /**
@@ -196,15 +195,15 @@ public class Role extends XenAPIObject {
      * @return value of the field
      */
     public String getUuid(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "role.get_uuid";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toString(result);
+        return Types.toString(result);
     }
 
     /**
@@ -213,15 +212,15 @@ public class Role extends XenAPIObject {
      * @return value of the field
      */
     public String getNameLabel(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "role.get_name_label";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toString(result);
+        return Types.toString(result);
     }
 
     /**
@@ -230,15 +229,15 @@ public class Role extends XenAPIObject {
      * @return value of the field
      */
     public String getNameDescription(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "role.get_name_description";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toString(result);
+        return Types.toString(result);
     }
 
     /**
@@ -247,15 +246,15 @@ public class Role extends XenAPIObject {
      * @return value of the field
      */
     public Set<Role> getSubroles(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "role.get_subroles";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toSetOfRole(result);
+        return Types.toSetOfRole(result);
     }
 
     /**
@@ -264,15 +263,15 @@ public class Role extends XenAPIObject {
      * @return a list of permissions
      */
     public Set<Role> getPermissions(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "role.get_permissions";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toSetOfRole(result);
+        return Types.toSetOfRole(result);
     }
 
     /**
@@ -281,15 +280,15 @@ public class Role extends XenAPIObject {
      * @return a list of permission names
      */
     public Set<String> getPermissionsNameLabel(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "role.get_permissions_name_label";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toSetOfString(result);
+        return Types.toSetOfString(result);
     }
 
     /**
@@ -298,15 +297,15 @@ public class Role extends XenAPIObject {
      * @return a list of references to roles
      */
     public Set<Role> getByPermission(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "role.get_by_permission";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toSetOfRole(result);
+        return Types.toSetOfRole(result);
     }
 
     /**
@@ -316,15 +315,15 @@ public class Role extends XenAPIObject {
      * @return a list of references to roles
      */
     public static Set<Role> getByPermissionNameLabel(Connection c, String 
label) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "role.get_by_permission_name_label";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(label)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toSetOfRole(result);
+        return Types.toSetOfRole(result);
     }
 
     /**
@@ -333,15 +332,15 @@ public class Role extends XenAPIObject {
      * @return references to all objects
      */
     public static Set<Role> getAll(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "role.get_all";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toSetOfRole(result);
+        return Types.toSetOfRole(result);
     }
 
     /**
@@ -350,15 +349,15 @@ public class Role extends XenAPIObject {
      * @return records of all objects
      */
     public static Map<Role, Role.Record> getAllRecords(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "role.get_all_records";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toMapOfRoleRoleRecord(result);
+        return Types.toMapOfRoleRoleRecord(result);
     }
 
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/be5e5cc6/deps/XenServerJava/src/com/xensource/xenapi/SM.java
----------------------------------------------------------------------
diff --git a/deps/XenServerJava/src/com/xensource/xenapi/SM.java 
b/deps/XenServerJava/src/com/xensource/xenapi/SM.java
index 9c7341c..0ec3626 100644
--- a/deps/XenServerJava/src/com/xensource/xenapi/SM.java
+++ b/deps/XenServerJava/src/com/xensource/xenapi/SM.java
@@ -28,7 +28,6 @@
  * OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-
 package com.xensource.xenapi;
 
 import com.xensource.xenapi.Types.BadServerResponse;
@@ -61,14 +60,14 @@ public class SM extends XenAPIObject {
      * For internal use only.
      */
     SM(String ref) {
-       this.ref = ref;
+        this.ref = ref;
     }
 
     /**
      * @return The XenAPI reference (OpaqueRef) to this object.
      */
     public String toWireString() {
-       return this.ref;
+        return this.ref;
     }
 
     /**
@@ -79,7 +78,7 @@ public class SM extends XenAPIObject {
     {
         if (obj != null && obj instanceof SM)
         {
-            SM other = (SM) obj;
+            SM other = (SM)obj;
             return other.ref.equals(this.ref);
         } else
         {
@@ -118,8 +117,8 @@ public class SM extends XenAPIObject {
         /**
          * Convert a SM.Record to a Map
          */
-        public Map<String,Object> toMap() {
-            Map<String,Object> map = new HashMap<String,Object>();
+        public Map<String, Object> toMap() {
+            Map<String, Object> map = new HashMap<String, Object>();
             map.put("uuid", this.uuid == null ? "" : this.uuid);
             map.put("name_label", this.nameLabel == null ? "" : 
this.nameLabel);
             map.put("name_description", this.nameDescription == null ? "" : 
this.nameDescription);
@@ -191,15 +190,15 @@ public class SM extends XenAPIObject {
      * @return all fields from the object
      */
     public SM.Record getRecord(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "SM.get_record";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toSMRecord(result);
+        return Types.toSMRecord(result);
     }
 
     /**
@@ -209,15 +208,15 @@ public class SM extends XenAPIObject {
      * @return reference to the object
      */
     public static SM getByUuid(Connection c, String uuid) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "SM.get_by_uuid";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(uuid)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toSM(result);
+        return Types.toSM(result);
     }
 
     /**
@@ -227,15 +226,15 @@ public class SM extends XenAPIObject {
      * @return references to objects with matching names
      */
     public static Set<SM> getByNameLabel(Connection c, String label) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "SM.get_by_name_label";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(label)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toSetOfSM(result);
+        return Types.toSetOfSM(result);
     }
 
     /**
@@ -244,15 +243,15 @@ public class SM extends XenAPIObject {
      * @return value of the field
      */
     public String getUuid(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "SM.get_uuid";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toString(result);
+        return Types.toString(result);
     }
 
     /**
@@ -261,15 +260,15 @@ public class SM extends XenAPIObject {
      * @return value of the field
      */
     public String getNameLabel(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "SM.get_name_label";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toString(result);
+        return Types.toString(result);
     }
 
     /**
@@ -278,15 +277,15 @@ public class SM extends XenAPIObject {
      * @return value of the field
      */
     public String getNameDescription(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "SM.get_name_description";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toString(result);
+        return Types.toString(result);
     }
 
     /**
@@ -295,15 +294,15 @@ public class SM extends XenAPIObject {
      * @return value of the field
      */
     public String getType(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "SM.get_type";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toString(result);
+        return Types.toString(result);
     }
 
     /**
@@ -312,15 +311,15 @@ public class SM extends XenAPIObject {
      * @return value of the field
      */
     public String getVendor(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "SM.get_vendor";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toString(result);
+        return Types.toString(result);
     }
 
     /**
@@ -329,15 +328,15 @@ public class SM extends XenAPIObject {
      * @return value of the field
      */
     public String getCopyright(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "SM.get_copyright";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toString(result);
+        return Types.toString(result);
     }
 
     /**
@@ -346,15 +345,15 @@ public class SM extends XenAPIObject {
      * @return value of the field
      */
     public String getVersion(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "SM.get_version";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toString(result);
+        return Types.toString(result);
     }
 
     /**
@@ -363,15 +362,15 @@ public class SM extends XenAPIObject {
      * @return value of the field
      */
     public String getRequiredApiVersion(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "SM.get_required_api_version";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toString(result);
+        return Types.toString(result);
     }
 
     /**
@@ -380,15 +379,15 @@ public class SM extends XenAPIObject {
      * @return value of the field
      */
     public Map<String, String> getConfiguration(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "SM.get_configuration";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toMapOfStringString(result);
+        return Types.toMapOfStringString(result);
     }
 
     /**
@@ -397,15 +396,15 @@ public class SM extends XenAPIObject {
      * @return value of the field
      */
     public Set<String> getCapabilities(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "SM.get_capabilities";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toSetOfString(result);
+        return Types.toSetOfString(result);
     }
 
     /**
@@ -414,15 +413,15 @@ public class SM extends XenAPIObject {
      * @return value of the field
      */
     public Map<String, String> getOtherConfig(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "SM.get_other_config";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toMapOfStringString(result);
+        return Types.toMapOfStringString(result);
     }
 
     /**
@@ -431,15 +430,15 @@ public class SM extends XenAPIObject {
      * @return value of the field
      */
     public String getDriverFilename(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "SM.get_driver_filename";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toString(result);
+        return Types.toString(result);
     }
 
     /**
@@ -448,9 +447,9 @@ public class SM extends XenAPIObject {
      * @param otherConfig New value to set
      */
     public void setOtherConfig(Connection c, Map<String, String> otherConfig) 
throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "SM.set_other_config";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref), Marshalling.toXMLRPC(otherConfig)};
@@ -465,9 +464,9 @@ public class SM extends XenAPIObject {
      * @param value Value to add
      */
     public void addToOtherConfig(Connection c, String key, String value) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "SM.add_to_other_config";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref), Marshalling.toXMLRPC(key), 
Marshalling.toXMLRPC(value)};
@@ -481,9 +480,9 @@ public class SM extends XenAPIObject {
      * @param key Key to remove
      */
     public void removeFromOtherConfig(Connection c, String key) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "SM.remove_from_other_config";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session), 
Marshalling.toXMLRPC(this.ref), Marshalling.toXMLRPC(key)};
@@ -497,15 +496,15 @@ public class SM extends XenAPIObject {
      * @return references to all objects
      */
     public static Set<SM> getAll(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "SM.get_all";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toSetOfSM(result);
+        return Types.toSetOfSM(result);
     }
 
     /**
@@ -514,15 +513,15 @@ public class SM extends XenAPIObject {
      * @return records of all objects
      */
     public static Map<SM, SM.Record> getAllRecords(Connection c) throws
-       BadServerResponse,
-       XenAPIException,
-       XmlRpcException {
+        BadServerResponse,
+        XenAPIException,
+        XmlRpcException {
         String method_call = "SM.get_all_records";
         String session = c.getSessionReference();
         Object[] method_params = {Marshalling.toXMLRPC(session)};
         Map response = c.dispatch(method_call, method_params);
         Object result = response.get("Value");
-            return Types.toMapOfSMSMRecord(result);
+        return Types.toMapOfSMSMRecord(result);
     }
 
 }
\ No newline at end of file

Reply via email to