diff options
author | Keith Packard <keithp@keithp.com> | 2017-06-20 11:18:41 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2017-06-20 11:18:41 -0700 |
commit | 0da4e201041a4420f273c2e0cda77eea78099518 (patch) | |
tree | 617f28dbd38b7ade20edb7eb1676ee2b3fc917b0 /altosuilib/AltosCSVUI.java | |
parent | a61217f0a6d0ef48b6471f632c4600255867e831 (diff) |
altoslib: Make cal_data private in AltosDataListener
This way we can create it as needed.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosuilib/AltosCSVUI.java')
-rw-r--r-- | altosuilib/AltosCSVUI.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/altosuilib/AltosCSVUI.java b/altosuilib/AltosCSVUI.java index 821b842b..442e3de3 100644 --- a/altosuilib/AltosCSVUI.java +++ b/altosuilib/AltosCSVUI.java @@ -56,9 +56,9 @@ public class AltosCSVUI set_default_file(); } - public AltosCSVUI(JFrame frame, AltosFlightSeries series, AltosCalData cal_data, File source_file) { + public AltosCSVUI(JFrame frame, AltosFlightSeries series, File source_file) { this.series = series; - this.cal_data = cal_data; + this.cal_data = series.cal_data(); csv_chooser = new JFileChooser(source_file); accessory = new JPanel(); |