Format of try ... catch blocks


Dave Heap
 

The "Format" command in NetBeans 11.3 has suddenly decided to change the format of try ... catch  blocks from:
        try {
            ...
        } catch (...) {
            ...
        }
to:
        try {
           ...
        }
        catch (...) {
           ...
        }

The latter is the style used by Oracle at:

However, Checkstyle is now complaining about the change.

Have we changed a project setting? I seem to remember some discussion of this topic recently but can't find it.

Dave

Join jmri@jmri-developers.groups.io to automatically receive all group messages.