From eb77f5eb64051628e70cc5318ba1cb07f000526e Mon Sep 17 00:00:00 2001 From: gimantha Date: Fri, 11 Sep 2020 17:18:17 +0530 Subject: [PATCH] Fix Java doc issues --- .../main/java/org/ballerinalang/jvm/values/DecimalValue.java | 2 +- .../src/main/java/org/ballerinalang/jvm/values/StreamValue.java | 2 +- .../src/main/java/org/ballerinalang/jvm/values/XMLItem.java | 2 +- .../src/main/java/org/ballerinalang/jvm/values/XMLSequence.java | 2 +- .../java/org/ballerinalang/jvm/values/utils/StringUtils.java | 1 + 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/bvm/ballerina-runtime/src/main/java/org/ballerinalang/jvm/values/DecimalValue.java b/bvm/ballerina-runtime/src/main/java/org/ballerinalang/jvm/values/DecimalValue.java index f43fde6ff0c2..4079d564706a 100644 --- a/bvm/ballerina-runtime/src/main/java/org/ballerinalang/jvm/values/DecimalValue.java +++ b/bvm/ballerina-runtime/src/main/java/org/ballerinalang/jvm/values/DecimalValue.java @@ -224,7 +224,7 @@ public boolean booleanValue() { /** * Get the string value. * @return string value - * @param parent + * @param parent The link to the parent node */ public String stringValue(BLink parent) { if (this.valueKind != DecimalValueKind.OTHER) { diff --git a/bvm/ballerina-runtime/src/main/java/org/ballerinalang/jvm/values/StreamValue.java b/bvm/ballerina-runtime/src/main/java/org/ballerinalang/jvm/values/StreamValue.java index 7f0bdf643b63..44ac94576eac 100644 --- a/bvm/ballerina-runtime/src/main/java/org/ballerinalang/jvm/values/StreamValue.java +++ b/bvm/ballerina-runtime/src/main/java/org/ballerinalang/jvm/values/StreamValue.java @@ -83,7 +83,7 @@ public BType getIteratorNextReturnType() { /** * {@inheritDoc} - * @param parent + * @param parent The link to the parent node */ public String stringValue(BLink parent) { return "stream <" + getType().toString() + ">"; diff --git a/bvm/ballerina-runtime/src/main/java/org/ballerinalang/jvm/values/XMLItem.java b/bvm/ballerina-runtime/src/main/java/org/ballerinalang/jvm/values/XMLItem.java index b86821dafd32..e8a4277d2763 100644 --- a/bvm/ballerina-runtime/src/main/java/org/ballerinalang/jvm/values/XMLItem.java +++ b/bvm/ballerina-runtime/src/main/java/org/ballerinalang/jvm/values/XMLItem.java @@ -441,7 +441,7 @@ public String toString() { /** * {@inheritDoc} - * @param parent + * @param parent The link to the parent node */ @Override @Deprecated diff --git a/bvm/ballerina-runtime/src/main/java/org/ballerinalang/jvm/values/XMLSequence.java b/bvm/ballerina-runtime/src/main/java/org/ballerinalang/jvm/values/XMLSequence.java index f14fb645f67a..0283b0af0b38 100644 --- a/bvm/ballerina-runtime/src/main/java/org/ballerinalang/jvm/values/XMLSequence.java +++ b/bvm/ballerina-runtime/src/main/java/org/ballerinalang/jvm/values/XMLSequence.java @@ -411,7 +411,7 @@ public String toString() { /** * {@inheritDoc} - * @param parent + * @param parent The link to the parent node */ @Override public String stringValue(BLink parent) { diff --git a/bvm/ballerina-runtime/src/main/java/org/ballerinalang/jvm/values/utils/StringUtils.java b/bvm/ballerina-runtime/src/main/java/org/ballerinalang/jvm/values/utils/StringUtils.java index 502ca76ffebd..74a8227a3479 100644 --- a/bvm/ballerina-runtime/src/main/java/org/ballerinalang/jvm/values/utils/StringUtils.java +++ b/bvm/ballerina-runtime/src/main/java/org/ballerinalang/jvm/values/utils/StringUtils.java @@ -44,6 +44,7 @@ public class StringUtils { * Returns the human-readable string value of Ballerina values. * * @param value The value on which the function is invoked + * @param parent The link to the parent node * @return String value of the value */ public static String getStringValue(Object value, BLink parent) {