Re: Additional Java language features

2025-03-17 Thread Mark Thomas
On 17/03/2025 12:08, Rémy Maucherat wrote: Hi, Would it be ok to use records and pattern variables (which replace the instanceof then cast code) in Tomcat ? +1 I think they would improve the code overall, esp records. Although it would make the branches a bit more different, this is "boilerp

Additional Java language features

2025-03-17 Thread Rémy Maucherat
Hi, Would it be ok to use records and pattern variables (which replace the instanceof then cast code) in Tomcat ? I think they would improve the code overall, esp records. Although it would make the branches a bit more different, this is "boilerplate" (as they say ;) ) code so unlikely to cause r