Skip to content

Commit

Permalink
Fixed Javadoc example for constructParametricType(Class<?>, Class<?>...)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikethecalamity authored Feb 13, 2025
1 parent cfef132 commit 2b4ed09
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1123,11 +1123,10 @@ public JavaType uncheckedSimpleType(Class<?> cls) {
/**
* Factory method for constructing {@link JavaType} that
* represents a parameterized type. For example, to represent
* type {@code List<Set<Integer>>}, you could
* type {@code Foo<Bar, Baz>}, you could
* call
*<pre>
* JavaType inner = TypeFactory.constructParametricType(Set.class, Integer.class);
* return TypeFactory.constructParametricType(List.class, inner);
* return TypeFactory.constructParametricType(Foo.class, Bar.class, Baz.class);
*</pre>
*<p>
* NOTE: since 2.11.2 {@link TypeModifier}s ARE called on result (fix for [databind#2796])
Expand Down

0 comments on commit 2b4ed09

Please sign in to comment.