|
@@ -31,10 +31,10 @@ import java.util.function.BiPredicate;
|
31
|
31
|
*/
|
32
|
32
|
public interface DisplayLocation {
|
33
|
33
|
/** Event came from the same WindowModel. */
|
34
|
|
- final DisplayLocation SOURCE = new DisplayLocationImpl((model, event) -> event.getSource().equals(model));
|
|
34
|
+ DisplayLocation SOURCE = new DisplayLocationImpl((model, event) -> event.getSource().equals(model));
|
35
|
35
|
|
36
|
36
|
/** Event came from a WindowModel that shares the same connection. */
|
37
|
|
- final DisplayLocation SAME_CONNECTION = new DisplayLocationImpl((model, event) -> event.getSource().getConnection().isPresent()
|
|
37
|
+ DisplayLocation SAME_CONNECTION = new DisplayLocationImpl((model, event) -> event.getSource().getConnection().isPresent()
|
38
|
38
|
&& model.getConnection().isPresent()
|
39
|
39
|
&& event.getSource().getConnection().get().equals(model.getConnection().get()));
|
40
|
40
|
/**
|