Skip to content

Consistently close streams through try-with-resources in FileCopyUtils #36223

@jhoeller

Description

@jhoeller

With #27702, FileCopyUtils started using try-with-resources for copy(InputStream, OutputStream) while leaving other methods with manual stream closing. This can be harmonized toward consistent use of try-with-resources.

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)status: backportedAn issue that has been backported to maintenance branchestype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions