Fix non-idea-compilable errors

This commit is contained in:
huanghongxun
2019-08-15 12:54:39 +08:00
parent 861b0a1c62
commit 51aa0dd851

View File

@@ -129,7 +129,7 @@ public final class ExtendedProperties {
public static ObjectProperty<Boolean> reservedSelectedPropertyFor(CheckBox checkbox) {
return (ObjectProperty<Boolean>) checkbox.getProperties().computeIfAbsent(
PROP_PREFIX + ".checkbox.reservedSelected",
any -> new MappedProperty<>(checkbox, "ext.reservedSelected",
any -> new MappedProperty<Boolean, Boolean>(checkbox, "ext.reservedSelected",
checkbox.selectedProperty(), it -> !it, it -> !it));
}
// ====