Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
nfeybesse committed Dec 20, 2016
1 parent 01cbe9a commit 96efa08
Showing 1 changed file with 1 addition and 3 deletions.
Expand Up @@ -113,8 +113,7 @@ private class FilteredInvalidator extends SimpleObjectProperty<T> {

private FilteredInvalidator(Predicate<T> predicate) {
this.predicate = predicate;
addProperty.addListener(listener);
// addProperty.addListener(new WeakChangeListener<T>((a, b, c) -> System.out.println("changeevent")));
addProperty.addListener(new WeakChangeListener<T>(listener));
removeProperty.addListener(new WeakChangeListener<T>(listener));
}

Expand All @@ -128,7 +127,6 @@ public Observable getFilteredInvalidator(T generic, Predicate<T> predicate) {

public void disableInvalidations() {
fireInvalidations = false;

}

public void enableInvalidations() {
Expand Down

0 comments on commit 96efa08

Please sign in to comment.