synchronizing eclipse/formatting settings

Hi - I've noticed a few autoformat differences appearing - possibly due
to eclipse version differences, but could also be config-drift.

Can everyone check their formatter settings for the Jalview project are
consistent with utils/eclipse/JalviewCodeStyle.xml ?

We seem to be flipflopping on cases like:

- List<SequenceI> revealedSeqs = new ArrayList<SequenceI>();
+ List<SequenceI> revealedSeqs = new ArrayList<>();

TIA!
j.

···

--
-------------------------------------------------------------------
Dr JB Procter, Jalview Coordinator, The Barton Group
Division of Computational Biology, School of Life Sciences
University of Dundee, Dundee DD1 5EH, UK.
+44 1382 388734 | www.jalview.org | www.compbio.dundee.ac.uk

The University of Dundee is a registered Scottish Charity, No: SC015096

Can everyone check their formatter settings for the Jalview project are
consistent with utils/eclipse/JalviewCodeStyle.xml ?

Seems Eclipse won't read this any more :frowning: Not quite sure what's wrong.
I also seem to be using eclipse defaults.. which is news to me !

- List<SequenceI> revealedSeqs = new ArrayList<SequenceI>();
+ List<SequenceI> revealedSeqs = new ArrayList<>();

There doesn't seem to be any setting related to this in the config
settings... anyone have an idea ?

jim.

The University of Dundee is a registered Scottish Charity, No: SC015096

···

On 31/05/2017 11:42, James Procter wrote: