Fix unclosed streams

* make sure Files.path() properly closes its directory, using try-with-resources
* missing one, found by @violetagg
* cherry pick from 1abd516456 and ec894cb82f
This commit is contained in:
Anthony Dahanne
2023-08-11 23:07:44 -04:00
parent 874b54b4b6
commit 8c0fe7682b
3 changed files with 8 additions and 7 deletions

View File

@@ -26,7 +26,7 @@
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-bindings</artifactId>
<version>${version}</version>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>