Remove inputStream.close() line to conform to the interface
The "ReproducibleResourceTransformer" interface says that "An input stream for the resource, the implementation should *not* close this stream". See gh-34063
This commit is contained in:
committed by
Moritz Halbritter
parent
33288493aa
commit
d6032c9d2c
@@ -69,7 +69,6 @@ public class PropertiesMergingResourceTransformer implements ReproducibleResourc
|
||||
throws IOException {
|
||||
Properties properties = new Properties();
|
||||
properties.load(inputStream);
|
||||
inputStream.close();
|
||||
properties.forEach((name, value) -> process((String) name, (String) value));
|
||||
if (time > this.time) {
|
||||
this.time = time;
|
||||
|
||||
Reference in New Issue
Block a user