permalmberg
01/28/2017, 4:29 PMsetOnAction {
for (prop in myProps) {
if( !prop.commit()) {
break
}
}
}
into setOnAction {
myProps
.filterNot { it.commit() }
.forEach { break }
}
but then break isn't allowed and the meaning is different.