5b63d787c7
If a closable local variable is initialized from a method/constructor parameter, then it is ignored. In that case, the resource is not created in this method, but somewhere else. Therefore the resources should be closed there.