mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-15 06:49:56 +00:00
Bug 4371: Improved exclusion of invalid lines during expedition import
to catch more cases where boat ID looks broken
This commit is contained in:
1 parent
c31a58892f
commit
825ab77fb8
1 file changed
+1
-1
+1
-1
@@ -57,7 +57,7 @@ public class ExpeditionExtendedDataImporterImpl extends AbstractDoubleVectorFixI
|
||||
private static final String DATE_COLUMN_2_PATTERN = "MM/dd/yy";
|
||||
private static final String TIME_COLUMN = "hhmmss";
|
||||
private static final String GPS_TIME_COLUMN = "GPS Time";
|
||||
private static final Pattern BOAT_CHECK_PATTERN = Pattern.compile("[0123456789]+");
|
||||
private static final Pattern BOAT_CHECK_PATTERN = Pattern.compile("[1-9]?[0-9]");
|
||||
private final Map<String, Integer> columnNamesInFileAndTheirValueIndexInResultingDoubleVectorFix;
|
||||
/**
|
||||
* The maximum index into the double vector fix from the
|
||||
|
||||
Reference in new issue
Block a user