This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-lang.git
commit 4df0475c65d4151207fa63b0301dc8eed91bfda9 Author: Gary D. Gregory <garydgreg...@gmail.com> AuthorDate: Sun Jun 15 13:56:28 2025 -0400 Reduce vertical whitespace --- src/main/java/org/apache/commons/lang3/reflect/TypeUtils.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/org/apache/commons/lang3/reflect/TypeUtils.java b/src/main/java/org/apache/commons/lang3/reflect/TypeUtils.java index ba8404f51..6033ce824 100644 --- a/src/main/java/org/apache/commons/lang3/reflect/TypeUtils.java +++ b/src/main/java/org/apache/commons/lang3/reflect/TypeUtils.java @@ -1472,7 +1472,6 @@ public static final ParameterizedType parameterizeWithOwner(final Type owner, fi Validate.noNullElements(typeArguments, "null type argument at index %s"); Validate.isTrue(rawClass.getTypeParameters().length == typeArguments.length, "invalid number of type parameters specified: expected %d, got %d", rawClass.getTypeParameters().length, typeArguments.length); - return new ParameterizedTypeImpl(rawClass, useOwner, typeArguments); } @@ -1487,7 +1486,6 @@ public static final ParameterizedType parameterizeWithOwner(final Type owner, fi private static Type substituteTypeVariables(final Type type, final Map<TypeVariable<?>, Type> typeVarAssigns) { if (type instanceof TypeVariable<?> && typeVarAssigns != null) { final Type replacementType = typeVarAssigns.get(type); - if (replacementType == null) { throw new IllegalArgumentException("missing assignment type for type variable " + type); }