Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Commit

Permalink
update to some PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
pdaulbyscottlogic committed Oct 21, 2019
1 parent f1ca398 commit 76265c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public Stream<T> generateRandomValues(RandomNumberGenerator randomNumberGenerato
.filter(this::notInBlacklist);
}


// we call this instead of .contains because .contains doesn't treat 2 and 2.0 as equal
private boolean notInBlacklist(T t) {
return blacklist.stream().noneMatch(x->x.compareTo(t)==0);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class DateTimeFieldValueSourceTests {
private Limit<OffsetDateTime> lowerLimit = DATETIME_MIN_LIMIT;
private Limit<OffsetDateTime> upperLimit = DATETIME_MAX_LIMIT;
private Set<Object> blackList = new HashSet<>();
private LinearFieldValueSource fieldSource;
private LinearFieldValueSource<OffsetDateTime> fieldSource;

@Test
public void whenGeneratingUnboundSet() {
Expand Down

0 comments on commit 76265c0

Please sign in to comment.