Skip to content

Commit c62fd37

Browse files
committed
Merge pull request #34063 from enimiste
* pr/34063: Remove inputStream.close() line to conform to the interface Closes gh-34063
2 parents 3328849 + d6032c9 commit c62fd37

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/PropertiesMergingResourceTransformer.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ public void processResource(String resource, InputStream inputStream, List<Reloc
6969
throws IOException {
7070
Properties properties = new Properties();
7171
properties.load(inputStream);
72-
inputStream.close();
7372
properties.forEach((name, value) -> process((String) name, (String) value));
7473
if (time > this.time) {
7574
this.time = time;

0 commit comments

Comments
 (0)