File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/main/java/de/doubleslash/keeptime/view Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 3434import javafx .application .Platform ;
3535import javafx .beans .binding .Bindings ;
3636import javafx .beans .binding .BooleanBinding ;
37- import javafx .beans .binding .BooleanExpression ;
3837import javafx .beans .property .BooleanProperty ;
3938import javafx .beans .property .SimpleBooleanProperty ;
4039import javafx .beans .property .StringProperty ;
@@ -136,7 +135,7 @@ private void setUpTimeRestriction() {
136135 this .isValidProperty .bind (isValidBinding );
137136
138137 errorLabel .textProperty ().bind (Bindings .createStringBinding (() -> {
139- if (isValidProperty .getValue ( )) {
138+ if (Boolean . TRUE . equals ( isValidProperty .get () )) {
140139 return "" ;
141140 } else {
142141 return "startDate has to be before endDate" ;
You can’t perform that action at this time.
0 commit comments