From 3b4842df8c71b2bb79a1c263702ece96cfb74707 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20Czern=C3=BD?= Date: Thu, 24 Jun 2021 09:29:38 +0200 Subject: [PATCH] M #-: Fix java documentation errors (#1331) --- src/oca/java/src/org/opennebula/client/user/User.java | 3 ++- src/oca/java/src/org/opennebula/client/vm/VirtualMachine.java | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/oca/java/src/org/opennebula/client/user/User.java b/src/oca/java/src/org/opennebula/client/user/User.java index 8391b1a9ff..94961e6c02 100644 --- a/src/oca/java/src/org/opennebula/client/user/User.java +++ b/src/oca/java/src/org/opennebula/client/user/User.java @@ -245,6 +245,7 @@ public class User extends PoolElement{ /** * Sets the LOGIN_TOKEN for the user * + * @param client XML-RPC Client. * @param username of the user * @param token the login token, if empty OpenNebula will * generate one @@ -263,6 +264,7 @@ public class User extends PoolElement{ /** * Sets the LOGIN_TOKEN for the user * + * @param client XML-RPC Client. * @param username of the user * @param token the login token, if empty OpenNebula will * generate one @@ -460,7 +462,6 @@ public class User extends PoolElement{ /** * Enables or disables a User * - * @param client XML-RPC Client. * @param enable True for enabling, false for disabling. * @return If successful the message contains the User id. */ diff --git a/src/oca/java/src/org/opennebula/client/vm/VirtualMachine.java b/src/oca/java/src/org/opennebula/client/vm/VirtualMachine.java index 372ad29c5f..d5659cb55e 100644 --- a/src/oca/java/src/org/opennebula/client/vm/VirtualMachine.java +++ b/src/oca/java/src/org/opennebula/client/vm/VirtualMachine.java @@ -651,7 +651,7 @@ public class VirtualMachine extends PoolElement{ * Create new scheduled action * @param client XML-RPC Client. * @param id The VM id of the target VM. - * @param new_add New scheduled action + * @param new_sched New scheduled action * @return If an error occurs the error message contains the reason. */ public static OneResponse schedadd(Client client, int id, String new_sched) @@ -1186,7 +1186,7 @@ public class VirtualMachine extends PoolElement{ /** * Create new scheduled action - * @param new_add New scheduled action + * @param new_sched New scheduled action * @return If an error occurs the error message contains the reason. */ public OneResponse schedadd(String new_sched)