On Thu, 18 Aug 2022 14:55:49 GMT, Daniel Fuchs <dfu...@openjdk.org> wrote:

> Stupid question: it seems none of these lambdas/anonymous classes capture any 
> parameters, all are stateless, and several seems to be identical. Would it 
> make the code cleaner to use static inner classes?

Keeping the source for the function/body close to or nested in the declaration 
of each enum is very desirable.

-------------

PR: https://git.openjdk.org/jdk/pull/9911

Reply via email to