Skip to content

Fix incorrect method name in TypeDescriptor.array() Javadoc#36549

Closed
bebeis wants to merge 1 commit intospring-projects:mainfrom
bebeis:fix/javadoc
Closed

Fix incorrect method name in TypeDescriptor.array() Javadoc#36549
bebeis wants to merge 1 commit intospring-projects:mainfrom
bebeis:fix/javadoc

Conversation

@bebeis
Copy link
Copy Markdown
Contributor

@bebeis bebeis commented Mar 27, 2026

The Javadoc example for TypeDescriptor.array() references TypeDescriptor.value(String.class), which does not exist.
The correct method is TypeDescriptor.valueOf(String.class).
(The neighboring collection() and map() Javadoc examples already use valueOf() correctly.)

Signed-off-by: Junseo Bae <ferrater1013@gmail.com>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Mar 27, 2026
@sbrannen sbrannen self-assigned this Mar 27, 2026
@sbrannen sbrannen added the type: documentation A documentation task label Mar 27, 2026
@sbrannen sbrannen added this to the 7.0.7 milestone Mar 27, 2026
@sbrannen sbrannen changed the title Fix incorrect method name in TypeDescriptor.array() Javadoc Fix incorrect method name in TypeDescriptor.array() Javadoc Mar 27, 2026
@sbrannen sbrannen added in: core Issues in core modules (aop, beans, core, context, expression) and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Mar 27, 2026
@sbrannen sbrannen closed this in ff30329 Mar 27, 2026
@sbrannen
Copy link
Copy Markdown
Member

sbrannen commented Mar 27, 2026

This has been merged into 7.0.x and main.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in: core Issues in core modules (aop, beans, core, context, expression) type: documentation A documentation task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants