Enable try-resources warnings
Merge