Merges two
try-with-resources
statements into one if the first statement is located inside the second one.