Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Click2cloud-Eros opened this issue Sep 30, 2021 · 0 comments
Open
Assignees
Labels
documentation Improvements or additions to documentation Query HarmonyOS API/Functionality Query

Comments

@Click2cloud-Eros
Copy link

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.

@Click2cloud-Eros Click2cloud-Eros added documentation Improvements or additions to documentation Query HarmonyOS API/Functionality Query labels Sep 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation Query HarmonyOS API/Functionality Query
Projects
None yet
Development

No branches or pull requests

2 participants