summaryrefslogtreecommitdiff
path: root/src/main/java/au/id/zancanaro/javacheck/junit
diff options
context:
space:
mode:
authorCarlo Zancanaro <carlo@zancanaro.id.au>2015-07-06 23:47:20 +1000
committerCarlo Zancanaro <carlo@zancanaro.id.au>2015-07-06 23:47:20 +1000
commit47313d5a766bf970095228c1b577244f7fc55415 (patch)
treed713b3a3d4655d1d07305ad6146642ba627a76a6 /src/main/java/au/id/zancanaro/javacheck/junit
parenta7b074875f241d98877de51a93717d56cf2d19e4 (diff)
Fix up some minor code-quality things
Diffstat (limited to 'src/main/java/au/id/zancanaro/javacheck/junit')
-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 175cd6c..9e6414a 100644
--- a/src/main/java/au/id/zancanaro/javacheck/junit/Properties.java
+++ b/src/main/java/au/id/zancanaro/javacheck/junit/Properties.java
@@ -85,7 +85,7 @@ public class Properties extends BlockJUnit4ClassRunner {
} else {
Generator<?>[] generators = Arrays.stream(method.getGenericParameterTypes())
.map(param -> provider.getGenerator(param, new Annotation[0], provider))
- .toArray(Generator[]::new);
+ .toArray(Generator<?>[]::new);
Generator<List<Object>> generator = Generator.tuple(generators);
long seed = getSeed(method);