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

Issue Found under "Using @DefaultValue and @Key annotations" section #347

Open
Kislaya1 opened this issue May 25, 2023 · 0 comments
Open

Comments

@Kislaya1
Copy link

Kislaya1 commented May 25, 2023

For the below config properties as per the documentation :

server.http.port=80 server.host.name=foobar.com server.max.threads=100

The ServerConfig Interface is mentioned below

public interface ServerConfig extends Config { @Key("server.http.port") int port(); @Key("server.host.name") String hostname(); @Key("server.max.threads"); @DefaultValue("42") int maxThreads(); }

Here in the above code under the section @Key("server.max.threads"); an extra semi-colon is mentioned which is incorrect and throws Compile Time Error.

Please remove it from the documentation
Link - https://matteobaccan.github.io/owner/docs/usage/

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

1 participant