Skip to content

Commit 82a9d66

Browse files
committed
Merge branch '7.0.x'
2 parents 5708b73 + ff30329 commit 82a9d66

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spring-core/src/main/java/org/springframework/core/convert/TypeDescriptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ public static TypeDescriptor map(Class<?> mapType, @Nullable TypeDescriptor keyT
631631
* Create a new type descriptor as an array of the specified type.
632632
* <p>For example to create a {@code Map<String,String>[]} use:
633633
* <pre class="code">
634-
* TypeDescriptor.array(TypeDescriptor.map(Map.class, TypeDescriptor.value(String.class), TypeDescriptor.value(String.class)));
634+
* TypeDescriptor.array(TypeDescriptor.map(Map.class, TypeDescriptor.valueOf(String.class), TypeDescriptor.valueOf(String.class)));
635635
* </pre>
636636
* @param elementTypeDescriptor the {@link TypeDescriptor} of the array element or {@code null}
637637
* @return an array {@link TypeDescriptor} or {@code null} if {@code elementTypeDescriptor} is {@code null}

0 commit comments

Comments
 (0)