X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=ao-tools%2Faltosui%2FAltosGraphDataChooser.java;h=caa14118244fc495c24acfbeb0941d683b2b2aa3;hb=1f3e091efdfb2fe6f06a066cac60f5d267b94856;hp=667d99f7d2dfc8d4ab656acbfa0f4fd23b56254f;hpb=ce7f59fbfb5a94a67a4ceced3cc371b4c6b6e5d1;p=fw%2Faltos diff --git a/ao-tools/altosui/AltosGraphDataChooser.java b/ao-tools/altosui/AltosGraphDataChooser.java index 667d99f7..caa14118 100644 --- a/ao-tools/altosui/AltosGraphDataChooser.java +++ b/ao-tools/altosui/AltosGraphDataChooser.java @@ -28,7 +28,6 @@ import java.text.*; import java.util.prefs.*; import altosui.AltosPreferences; -import altosui.AltosCsvReader; import altosui.AltosDataPointReader; import altosui.AltosEepromIterable; import altosui.AltosTelemetryIterable; @@ -62,8 +61,6 @@ public class AltosGraphDataChooser extends JFileChooser { } else if (filename.endsWith("telem")) { FileInputStream in = new FileInputStream(file); return new AltosDataPointReader(new AltosTelemetryIterable(in)); - } else if (filename.endsWith("csv")) { - return new AltosCsvReader(new FileReader(file)); } else { throw new FileNotFoundException(); } @@ -81,7 +78,7 @@ public class AltosGraphDataChooser extends JFileChooser { frame = in_frame; setDialogTitle("Select Flight Record File"); setFileFilter(new FileNameExtensionFilter("Flight data file", - "csv", "telem", "eeprom")); + "telem", "eeprom")); setCurrentDirectory(AltosPreferences.logdir()); } }