Fix compile errors

This commit is contained in:
yushijinhun 2018-10-03 19:20:47 +08:00
parent 8cb4ca0e8b
commit 4121921aca
No known key found for this signature in database
GPG Key ID: 5BC167F73EA558E4
3 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,6 @@
plugins {
id 'com.github.johnrengelman.shadow' version '2.0.4'
id 'com.github.johnrengelman.shadow' version '4.0.0'
id 'application'
}
import java.nio.file.FileSystems

View File

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

View File

@ -32,7 +32,6 @@ buildscript {
subprojects {
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'application'
repositories {
mavenCentral()