We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 471bc1e commit e590edcCopy full SHA for e590edc
1 file changed
src/main/java/de/doubleslash/keeptime/view/ManageWorkController.java
@@ -34,7 +34,6 @@
34
import javafx.application.Platform;
35
import javafx.beans.binding.Bindings;
36
import javafx.beans.binding.BooleanBinding;
37
-import javafx.beans.binding.BooleanExpression;
38
import javafx.beans.property.BooleanProperty;
39
import javafx.beans.property.SimpleBooleanProperty;
40
import javafx.beans.property.StringProperty;
@@ -136,7 +135,7 @@ private void setUpTimeRestriction() {
136
135
this.isValidProperty.bind(isValidBinding);
137
138
errorLabel.textProperty().bind(Bindings.createStringBinding(() -> {
139
- if (isValidProperty.getValue()) {
+ if (Boolean.TRUE.equals(isValidProperty.get())) {
140
return "";
141
} else {
142
return "startDate has to be before endDate";
0 commit comments