Merge branch 'master' into 1.17

This commit is contained in:
gnembon committed 2021-06-01 01:08:19 -03:00
commit 875545711b
1 file changed
+1 -1
@@ -137,7 +137,7 @@ public interface ValueConverter<R>
}
// Class only checks
if (type.isAssignableFrom(Value.class))
if (Value.class.isAssignableFrom(type))
return Objects.requireNonNull(ValueCaster.get(type), "Value subclass " + type + " is not registered. Register it in ValueCaster to use it");
// if (type == LazyValue.class) // No longer supported
// return (ValueConverter<R>) Params.LAZY_VALUE_IDENTITY;