Skip to content

Commit

Permalink
Add javadoc note on recursive resolution as of 6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoeller committed Feb 15, 2024
1 parent e788aeb commit d4e8daa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2023 the original author or authors.
* Copyright 2002-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -147,6 +147,7 @@ public static Class<?>[] resolveTypeArguments(Class<?> clazz, Class<?> genericTy
/**
* Resolve the given generic type against the given context class,
* substituting type variables as far as possible.
* <p>As of 6.2, this method resolves type variables recursively.
* @param genericType the (potentially) generic type
* @param contextClass a context class for the target type, for example a class
* in which the target type appears in a method signature (can be {@code null})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -393,11 +393,9 @@ public void nestedGenerics(List<Map<String, Integer>> input) {
public interface ListOfListSupplier<T> {

List<List<T>> get();

}

public interface StringListOfListSupplier extends ListOfListSupplier<String> {

}

}

0 comments on commit d4e8daa

Please sign in to comment.