YetAnotherConfigLib

YetAnotherConfigLib

13M Downloads

Bug: YACL 3.0.1 'instant' is not implemented

Qendolin opened this issue ยท 0 comments

commented

public Option<T> build() {
Validate.notNull(controlGetter, "`control` must not be null when building `Option`");
Validate.notNull(binding, "`binding` must not be null when building `Option`");
Validate.isTrue(!instant || flags.isEmpty(), "instant application does not support option flags");
return new OptionImpl<>(name, descriptionFunction, controlGetter, binding, available, ImmutableSet.copyOf(flags), listeners);
}

The option builder does not use the value of instant anywhere and so it doesn't work.