This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git The following commit(s) were added to refs/heads/trunk by this push: new 8ced392 Fixes few JavaDoc issues 8ced392 is described below commit 8ced392fde73a187aa9666d0fa84609df5e14414 Author: Jacques Le Roux <[hidden email]> AuthorDate: Thu Sep 24 06:59:30 2020 +0200 Fixes few JavaDoc issues --- .../org/apache/ofbiz/ws/rs/core/ResponseStatus.java | 3 +-- .../org/apache/ofbiz/ws/rs/model/ModelOperation.java | 18 +++++++++--------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/ofbiz-rest-impl/src/main/java/org/apache/ofbiz/ws/rs/core/ResponseStatus.java b/ofbiz-rest-impl/src/main/java/org/apache/ofbiz/ws/rs/core/ResponseStatus.java index b80c4ef..63c9b68 100644 --- a/ofbiz-rest-impl/src/main/java/org/apache/ofbiz/ws/rs/core/ResponseStatus.java +++ b/ofbiz-rest-impl/src/main/java/org/apache/ofbiz/ws/rs/core/ResponseStatus.java @@ -82,8 +82,7 @@ public final class ResponseStatus { /** * Convert a numerical status code into the corresponding Status. - * - * @param statusCode the numerical status code. + * @param code * @return the matching Status or null is no matching Status is defined. */ public static ResponseStatus.Custom fromStatusCode(int code) { diff --git a/ofbiz-rest-impl/src/main/java/org/apache/ofbiz/ws/rs/model/ModelOperation.java b/ofbiz-rest-impl/src/main/java/org/apache/ofbiz/ws/rs/model/ModelOperation.java index b8a32a0..3627817 100644 --- a/ofbiz-rest-impl/src/main/java/org/apache/ofbiz/ws/rs/model/ModelOperation.java +++ b/ofbiz-rest-impl/src/main/java/org/apache/ofbiz/ws/rs/model/ModelOperation.java @@ -43,8 +43,8 @@ public class ModelOperation { } /** - * @param value - * @return + * @param auth + * @return ModelOperation */ public ModelOperation auth(boolean auth) { this.auth = auth; @@ -73,7 +73,7 @@ public class ModelOperation { /** * @param value - * @return + * @return ModelOperation */ public ModelOperation service(String value) { this.service = value; @@ -102,7 +102,7 @@ public class ModelOperation { /** * @param value - * @return + * @return ModelOperation */ public ModelOperation verb(String value) { this.verb = value; @@ -131,7 +131,7 @@ public class ModelOperation { /** * @param value - * @return + * @return ModelOperation */ public ModelOperation produces(String value) { this.produces = value; @@ -160,7 +160,7 @@ public class ModelOperation { /** * @param value - * @return + * @return ModelOperation */ public ModelOperation consumes(String value) { this.consumes = value; @@ -189,7 +189,7 @@ public class ModelOperation { /** * @param value - * @return + * @return ModelOperation */ public ModelOperation path(String value) { this.path = value; @@ -218,7 +218,7 @@ public class ModelOperation { /** * @param value - * @return + * @return ModelOperation */ public ModelOperation description(String value) { this.description = value; @@ -226,7 +226,7 @@ public class ModelOperation { } /** - * @return + * @return String */ @Override public String toString() { |
Free forum by Nabble | Edit this page |