Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Staged
-
1.10.1, 1.11.1, 1.13.0, 1.12.3, 1.12.4
Description
//代码占位符 @Deprecated public <T> ConfigOption<T> defaultValue(T value) { checkNotNull(value); return new ConfigOption<>( key, value.getClass(), ConfigOption.EMPTY_DESCRIPTION, value, false); } @Deprecated public ConfigOption<String> noDefaultValue() { return new ConfigOption<>( key, String.class, ConfigOption.EMPTY_DESCRIPTION, null, false); }
The method is marked as Deprecated, shoud define the type explicitly first with one of the intType(), stringType(), etc
Attachments
Issue Links
- links to