fixed NPE when validation is not available on revalidate call

This commit is contained in:
Andreas Billmann
2015-12-07 20:21:35 +01:00
parent feabaa70a9
commit 873a880971

View File

@@ -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);
}