Skip to content

Commit

Permalink
Minor edits.
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasMikula committed Jun 5, 2014
1 parent 1506ad0 commit 689fea8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions reactfx/src/main/java/org/reactfx/BiEventStream.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ default BiEventStream<A, B> filter(
return new FilterBiStream<>(this, predicate);
}

@Override
default BiEventStream<A, B> distinct() {
return new DistinctBiStream<>(this);
}
Expand Down
1 change: 1 addition & 0 deletions reactfx/src/main/java/org/reactfx/TriEventStream.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ default TriEventStream<A, B, C> filter(
return new FilterTriStream<>(this, predicate);
}

@Override
default TriEventStream<A, B, C> distinct() {
return new DistinctTriStream<>(this);
}
Expand Down
2 changes: 1 addition & 1 deletion reactfx/src/test/java/org/reactfx/DistinctStreamTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public void testTriStream() {
checkList(Tuples.t(4L, 5L, 6L), distinctCollector);
}

private void checkList(Object elem, List list) {
private void checkList(Object elem, List<?> list) {
assertEquals(Arrays.asList(elem), list);
list.clear();
}
Expand Down

0 comments on commit 689fea8

Please sign in to comment.