mirror of
https://github.com/frosch95/SmartCSV.fx.git
synced 2026-04-11 21:48:22 +02:00
reorganize validation package
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package ninja.javafx.smartcsv.validation.checker;
|
||||
|
||||
/**
|
||||
* validations based on this are not validated when the value is null or empty
|
||||
*/
|
||||
public abstract class EmptyValueIsValid implements Validation {
|
||||
|
||||
@Override
|
||||
public boolean canBeChecked(String value) {
|
||||
return value != null && !value.isEmpty();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user