mirror of
https://github.com/frosch95/SmartCSV.fx.git
synced 2026-04-11 13:38:23 +02:00
fixed NPE when validation is not available on revalidate call
This commit is contained in:
@@ -105,7 +105,7 @@ public class CSVModel {
|
||||
* walks through the data and validates each value
|
||||
*/
|
||||
private void revalidate() {
|
||||
if (header != null) {
|
||||
if (header != null && validator != null) {
|
||||
validator.isHeaderValid(header);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user