Community
Participate
Working Groups
We should add a 'try-with-resource' template
Created attachment 223546 [details] Added the template for try-with-resources
The patch works, but I now realize that maybe we should fix this only after bug 95787 is fixed.
(In reply to comment #2) > The patch works, but I now realize that maybe we should fix this only after > bug 95787 is fixed. Definitely.
(In reply to Dani Megert from comment #3) > (In reply to comment #2) > > The patch works, but I now realize that maybe we should fix this only after > > bug 95787 is fixed. > > Definitely. Java 7 is out of maintenance, are you OK in adding this template?
(In reply to Lars Vogel from comment #4) > (In reply to Dani Megert from comment #3) > > (In reply to comment #2) > > > The patch works, but I now realize that maybe we should fix this only after > > > bug 95787 is fixed. > > > > Definitely. > > Java 7 is out of maintenance, are you OK in adding this template? No. Lots of people will leave their code base as is or have no choice when doing maintenance, e.g. 4.5.2 work. They would get upset if they get wrong templates (see 95787 and its duplicates). Help is appreciated for bug 95787. Jordan, if you are still around, can you please sign the CLA.