-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
QueryHarmonyOS API/Functionality QueryHarmonyOS API/Functionality QuerydocumentationImprovements or additions to documentationImprovements or additions to documentation
Description
Describe the query
How to solve below javadoc errors given by checkstyles plugin?
Javadoc tag '@return' should be preceded with an empty line. (1,215:0) [RequireEmptyLineBeforeBlockTagGroup]
Javadoc tag '@param' should be preceded with an empty line. (1,479:0) [RequireEmptyLineBeforeBlockTagGroup]
These are my javadoc comments
/**
* Get the border color.
* @return Border color in Color instance form.
*/
public Color getBorderColor() {
return borderColor;
}
/**
* Set the border color.
*
* @param borderColor The border color.
*/
public void setBorderColor(Color borderColor) {
this.borderColor = borderColor;
borderPaint.setColor(borderColor);
invalidate();
}
In both cases it showing same error.
Metadata
Metadata
Assignees
Labels
QueryHarmonyOS API/Functionality QueryHarmonyOS API/Functionality QuerydocumentationImprovements or additions to documentationImprovements or additions to documentation