Use Reader.transferTo in FileCopyUtils by kilink · Pull Request #36196 · spring-projects/spring-framework

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@kilink

Copy link

Contributor

@kilink kilink commented

Jan 23, 2026

Use the transferTo method in FileCopyUtils#copy(Reader, Writer); Reader subclasses may have optimized implementations of transferTo.

Use the transferTo method in FileCopyUtils#copy(Reader, Writer).

Signed-off-by: Patrick Strawderman <pstrawderman@netflix.com>

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage

An issue we've not yet triaged or decided on

label

Jan 23, 2026

@bclozel bclozel added in: core

Issues in core modules (aop, beans, core, context, expression)

type: enhancement

A general enhancement

and removed status: waiting-for-triage

An issue we've not yet triaged or decided on

labels

Jan 23, 2026

@bclozel bclozel added this to the 7.0.4 milestone

Jan 23, 2026

@bclozel bclozel self-assigned this

Jan 23, 2026

@bclozel bclozel closed this in 96fb5d7

Jan 27, 2026

@bclozel

Copy link

Member

bclozel commented

Jan 27, 2026

Thanks @kilink !

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

Reviewers

No reviews

Assignees

@bclozel bclozel

Labels

in: core

Issues in core modules (aop, beans, core, context, expression)

type: enhancement

A general enhancement

Projects

None yet

Milestone

7.0.4

Development

Successfully merging this pull request may close these issues.

3 participants

@kilink @bclozel @spring-projects-issues