You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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/
The text was updated successfully, but these errors were encountered: