diff options
author | Carlo Zancanaro <carlo@zancanaro.id.au> | 2015-06-01 12:49:53 +1000 |
---|---|---|
committer | Carlo Zancanaro <carlo@zancanaro.id.au> | 2015-06-01 12:49:53 +1000 |
commit | a0d8c8066faadaf609e151ed0b71235a9615584a (patch) | |
tree | b9e07a2d5e32158991c8c40b6ede95c864d4056d /src/main/java/au/id/zancanaro/javacheck/junit/Properties.java | |
parent | fef70631f4d1be56d772816af22778efebcc8391 (diff) |
Rename fmap -> map (apparently that's what Java's going with, see java.util.Optional)
Diffstat (limited to 'src/main/java/au/id/zancanaro/javacheck/junit/Properties.java')
-rw-r--r-- | src/main/java/au/id/zancanaro/javacheck/junit/Properties.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/au/id/zancanaro/javacheck/junit/Properties.java b/src/main/java/au/id/zancanaro/javacheck/junit/Properties.java index 5ec0c36..0507413 100644 --- a/src/main/java/au/id/zancanaro/javacheck/junit/Properties.java +++ b/src/main/java/au/id/zancanaro/javacheck/junit/Properties.java @@ -193,7 +193,7 @@ public class Properties extends BlockJUnit4ClassRunner { generators[index++] = this.generators.get(type); } @SuppressWarnings("unchecked") - Generator<Object[]> generator = Generator.tuple((Generator<Object>[]) generators).fmap(List::toArray); + Generator<Object[]> generator = Generator.tuple((Generator<Object>[]) generators).map(List::toArray); long seed = getSeed(method); Random random = new Random(seed); |