Issue Found under "Using @DefaultValue and @Key annotations" section
Kislaya1 opened this issue · comments
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/