Skip to content

How to solve these javadoc errors given by checkstyles plugin? #81

@Click2cloud-Eros

Description

@Click2cloud-Eros

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 QuerydocumentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions