altosui: Eliminate unncessary import altosui lines
[fw/altos] / ao-tools / altosui / AltosGraphDataChooser.java
index 667d99f7d2dfc8d4ab656acbfa0f4fd23b56254f..d128f4d5862a4cc5f3d9bb9edea0914b60c79f64 100644 (file)
@@ -27,12 +27,6 @@ import java.util.*;
 import java.text.*;
 import java.util.prefs.*;
 
-import altosui.AltosPreferences;
-import altosui.AltosCsvReader;
-import altosui.AltosDataPointReader;
-import altosui.AltosEepromIterable;
-import altosui.AltosTelemetryIterable;
-
 public class AltosGraphDataChooser extends JFileChooser {
        JFrame  frame;
        String  filename;
@@ -62,8 +56,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 +73,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());
        }
 }