Fix JavaDoc errors in ApiClient for resttemplate (#2515)

This commit is contained in:
Michael Stummvoll 2019-03-27 02:58:56 +01:00 committed by William Cheng
parent 41b5d0e8fc
commit 6e7c621629
3 changed files with 15 additions and 3 deletions

View File

@ -342,6 +342,8 @@ public class ApiClient {
/**
* Parse the given string into Date object.
* @param str the string to parse
* @return the Date parsed from the string
*/
public Date parseDate(String str) {
try {
@ -353,6 +355,8 @@ public class ApiClient {
/**
* Format the given Date object into string.
* @param date the date to format
* @return the formatted date as string
*/
public String formatDate(Date date) {
return dateFormat.format(date);
@ -386,7 +390,7 @@ public class ApiClient {
* Formats the specified collection path parameter to a string value.
*
* @param collectionFormat The collection format of the parameter.
* @param value The value of the parameter.
* @param values The values of the parameter.
* @return String representation of the parameter
*/
public String collectionPathParameterToString(CollectionFormat collectionFormat, Collection<? extends CharSequence> values) {

View File

@ -331,6 +331,8 @@ public class ApiClient {
/**
* Parse the given string into Date object.
* @param str the string to parse
* @return the Date parsed from the string
*/
public Date parseDate(String str) {
try {
@ -342,6 +344,8 @@ public class ApiClient {
/**
* Format the given Date object into string.
* @param date the date to format
* @return the formatted date as string
*/
public String formatDate(Date date) {
return dateFormat.format(date);
@ -375,7 +379,7 @@ public class ApiClient {
* Formats the specified collection path parameter to a string value.
*
* @param collectionFormat The collection format of the parameter.
* @param value The value of the parameter.
* @param values The values of the parameter.
* @return String representation of the parameter
*/
public String collectionPathParameterToString(CollectionFormat collectionFormat, Collection<? extends CharSequence> values) {

View File

@ -326,6 +326,8 @@ public class ApiClient {
/**
* Parse the given string into Date object.
* @param str the string to parse
* @return the Date parsed from the string
*/
public Date parseDate(String str) {
try {
@ -337,6 +339,8 @@ public class ApiClient {
/**
* Format the given Date object into string.
* @param date the date to format
* @return the formatted date as string
*/
public String formatDate(Date date) {
return dateFormat.format(date);
@ -370,7 +374,7 @@ public class ApiClient {
* Formats the specified collection path parameter to a string value.
*
* @param collectionFormat The collection format of the parameter.
* @param value The value of the parameter.
* @param values The values of the parameter.
* @return String representation of the parameter
*/
public String collectionPathParameterToString(CollectionFormat collectionFormat, Collection<? extends CharSequence> values) {