Dont deprecate setDefaultValue with constant result

This commit is contained in:
TheMode 2021-04-28 14:05:20 +02:00
parent 929a377dc0
commit 35c60733d1

View File

@ -195,11 +195,7 @@ public abstract class Argument<T> {
return this;
}
/**
* @deprecated use {@link #setDefaultValue(Supplier)}
*/
@NotNull
@Deprecated
public Argument<T> setDefaultValue(@Nullable T defaultValue) {
this.defaultValue = () -> defaultValue;
return this;