Skip to content

Commit 4df0475

Browse files
committed
Reduce vertical whitespace
1 parent d82b065 commit 4df0475

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/main/java/org/apache/commons/lang3/reflect/TypeUtils.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1472,7 +1472,6 @@ public static final ParameterizedType parameterizeWithOwner(final Type owner, fi
14721472
Validate.noNullElements(typeArguments, "null type argument at index %s");
14731473
Validate.isTrue(rawClass.getTypeParameters().length == typeArguments.length, "invalid number of type parameters specified: expected %d, got %d",
14741474
rawClass.getTypeParameters().length, typeArguments.length);
1475-
14761475
return new ParameterizedTypeImpl(rawClass, useOwner, typeArguments);
14771476
}
14781477

@@ -1487,7 +1486,6 @@ public static final ParameterizedType parameterizeWithOwner(final Type owner, fi
14871486
private static Type substituteTypeVariables(final Type type, final Map<TypeVariable<?>, Type> typeVarAssigns) {
14881487
if (type instanceof TypeVariable<?> && typeVarAssigns != null) {
14891488
final Type replacementType = typeVarAssigns.get(type);
1490-
14911489
if (replacementType == null) {
14921490
throw new IllegalArgumentException("missing assignment type for type variable " + type);
14931491
}

0 commit comments

Comments
 (0)