We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb7508f commit b493427Copy full SHA for b493427
reactfx-demos/src/main/java/org/reactfx/inhibeans/demo/AndGateDemo.java
@@ -6,7 +6,7 @@
6
import javafx.beans.property.SimpleBooleanProperty;
7
import javafx.beans.value.ObservableBooleanValue;
8
9
-import org.reactfx.Hold;
+import org.reactfx.Guard;
10
import org.reactfx.inhibeans.binding.BooleanBinding;
11
12
public class AndGateDemo {
@@ -63,10 +63,10 @@ static class AndGateImpl implements AndGate {
63
64
@Override
65
public void setInputs(boolean a, boolean b) {
66
- Hold hold = output.block();
+ Guard guard = output.block();
67
this.a.set(a);
68
this.b.set(b);
69
- hold.close();
+ guard.close();
70
}
71
72
@Override public ObservableBooleanValue a() { return a; }
0 commit comments