File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
app/src/main/java/io/neurolab/fragments Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 29
29
import android .widget .Toast ;
30
30
31
31
import com .opencsv .CSVReader ;
32
+ import com .opencsv .exceptions .CsvValidationException ;
32
33
33
34
import java .io .File ;
34
35
import java .io .FileReader ;
@@ -381,7 +382,7 @@ protected String[] doInBackground(Void... voids) {
381
382
eegValueSize ++;
382
383
}
383
384
}
384
- } catch (IOException e ) {
385
+ } catch (IOException | CsvValidationException e ) {
385
386
e .printStackTrace ();
386
387
}
387
388
return eegValues ;
Original file line number Diff line number Diff line change 36
36
import com .github .mikephil .charting .interfaces .datasets .ILineDataSet ;
37
37
import com .github .mikephil .charting .listener .OnChartValueSelectedListener ;
38
38
import com .opencsv .CSVReader ;
39
+ import com .opencsv .exceptions .CsvValidationException ;
39
40
40
41
import java .io .File ;
41
42
import java .io .FileReader ;
@@ -527,7 +528,7 @@ protected String[] doInBackground(Void... voids) {
527
528
eegValueSize ++;
528
529
}
529
530
}
530
- } catch (IOException e ) {
531
+ } catch (IOException | CsvValidationException e ) {
531
532
e .printStackTrace ();
532
533
}
533
534
return eegValues ;
Original file line number Diff line number Diff line change 59
59
usbSerialLibraryVersion = ' 6.1.0'
60
60
appIntroLibraryVersion = ' 4.2.3'
61
61
jfreechartLibraryVersion = ' 1.0.14'
62
- opencsvLibraryVersion = ' 4.6 '
62
+ opencsvLibraryVersion = ' 5.0 '
63
63
}
You can’t perform that action at this time.
0 commit comments