pont-us / PuffinPlot

A program to plot and analyse palaeomagnetic data
GNU General Public License v3.0
3 stars 0 forks source link

Fix mutable Correction.NONE #382

Open pont-us opened 3 years ago

pont-us commented 3 years ago

Correction.NONE is final, but it's mutable, so callers can change its state. Need to either make the whole class immutable or replace NONE with a getNone() which returns a defensive copy.