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

Default methods should not require a java doc #896

Closed
HerrDerb opened this issue Feb 23, 2023 · 2 comments
Closed

Default methods should not require a java doc #896

HerrDerb opened this issue Feb 23, 2023 · 2 comments

Comments

@HerrDerb
Copy link

When having a @ConfigMapping with a default method, the annotations processing tells me, that I need to add a javadoc to the default method, as usual for property defining abstract interface method

image

This does not make much sense. Default methods should be excluded from this check.

@radcortez
Copy link
Member

Correct. I'll fix it.

In the meanwhile, you can use @Deprecated as a workaround to ignore it (yes ugly I know).

@radcortez
Copy link
Member

quarkusio/quarkus#31384 will fix this.

I am closing this issue because this is on the Quarkus side, not the SmallRye Config side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants