summaryrefslogtreecommitdiff
path: root/src/main/java/au/id/zancanaro/javacheck/junit/Properties.java
diff options
context:
space:
mode:
authorCarlo Zancanaro <carlo@zancanaro.id.au>2015-06-01 12:49:53 +1000
committerCarlo Zancanaro <carlo@zancanaro.id.au>2015-06-01 12:49:53 +1000
commita0d8c8066faadaf609e151ed0b71235a9615584a (patch)
treeb9e07a2d5e32158991c8c40b6ede95c864d4056d /src/main/java/au/id/zancanaro/javacheck/junit/Properties.java
parentfef70631f4d1be56d772816af22778efebcc8391 (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.java2
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);