diff --git a/swing/src/net/sf/openrocket/utils/SimulationTableToCSVFileExporter.java b/swing/src/net/sf/openrocket/utils/SimulationTableToCSVFileExporter.java index 8fe1668bc..fc1e253b5 100644 --- a/swing/src/net/sf/openrocket/utils/SimulationTableToCSVFileExporter.java +++ b/swing/src/net/sf/openrocket/utils/SimulationTableToCSVFileExporter.java @@ -28,6 +28,7 @@ import net.sf.openrocket.l10n.Translator; import net.sf.openrocket.startup.Application; import net.sf.openrocket.startup.Preferences; import net.sf.openrocket.unit.Value; +import net.sf.openrocket.util.TextUtil; public class SimulationTableToCSVFileExporter { private final OpenRocketDocument document; @@ -50,8 +51,8 @@ public class SimulationTableToCSVFileExporter { } /** - * Means by which the CSV export will clean up units on the values and - * describe them on the header fields instead. + * To make a lookup of table header to units. For those columns which are of type Value, the + * units will be added to the header... */ private void populateColumnNameToUnitsHashTable() { if (null == simulationTableModel) { @@ -159,9 +160,12 @@ public class SimulationTableToCSVFileExporter { ArrayList rowColumnElement = new ArrayList<>(); for (int j=1; j 0! for (int j=1; j