diff --git a/.java-version b/.java-version
new file mode 100644
index 000000000..625934097
--- /dev/null
+++ b/.java-version
@@ -0,0 +1 @@
+1.8
diff --git a/conf/MIT-LICENSE.txt b/conf/MIT-LICENSE.txt
index 63c9a4769..a5bbe63d1 100644
--- a/conf/MIT-LICENSE.txt
+++ b/conf/MIT-LICENSE.txt
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2017 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/pom.xml b/core/pom.xml
index 814d38938..824d99b14 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -4,11 +4,11 @@
com.pholser
junit-quickcheck
- 0.9
+ 0.9.1-SNAPSHOT
junit-quickcheck-core
- 0.9
+ 0.9.1-SNAPSHOT
jar
junit-quickcheck-core
Property-based testing, JUnit-style: core functionality
@@ -36,7 +36,7 @@
ru.vyarus
generics-resolver
- 2.0.1
+ 3.0.1
org.slf4j
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/From.java b/core/src/main/java/com/pholser/junit/quickcheck/From.java
index b5e8f5ec7..e089052af 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/From.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/From.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/MinimalCounterexampleHook.java b/core/src/main/java/com/pholser/junit/quickcheck/MinimalCounterexampleHook.java
index 9d2b88e70..0fd668ff3 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/MinimalCounterexampleHook.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/MinimalCounterexampleHook.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/Mode.java b/core/src/main/java/com/pholser/junit/quickcheck/Mode.java
index bd4f12a32..8241a2ac2 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/Mode.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/Mode.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/Pair.java b/core/src/main/java/com/pholser/junit/quickcheck/Pair.java
index 770c94e30..91f113330 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/Pair.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/Pair.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/Produced.java b/core/src/main/java/com/pholser/junit/quickcheck/Produced.java
index 1e19ce824..961a101ce 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/Produced.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/Produced.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/Property.java b/core/src/main/java/com/pholser/junit/quickcheck/Property.java
index 4722fc29d..caad31572 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/Property.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/Property.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/When.java b/core/src/main/java/com/pholser/junit/quickcheck/When.java
index f9434234b..c3ac9bc4a 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/When.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/When.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/conversion/StringConversion.java b/core/src/main/java/com/pholser/junit/quickcheck/conversion/StringConversion.java
index 06a0a90d9..e1c720b0e 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/conversion/StringConversion.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/conversion/StringConversion.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/generator/Also.java b/core/src/main/java/com/pholser/junit/quickcheck/generator/Also.java
index 7b38baf15..cd8083e3c 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/generator/Also.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/generator/Also.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/generator/ComponentizedGenerator.java b/core/src/main/java/com/pholser/junit/quickcheck/generator/ComponentizedGenerator.java
index cc992dd09..746e97822 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/generator/ComponentizedGenerator.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/generator/ComponentizedGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/generator/Ctor.java b/core/src/main/java/com/pholser/junit/quickcheck/generator/Ctor.java
index 00536b82f..fcf75f2da 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/generator/Ctor.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/generator/Ctor.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/generator/Distinct.java b/core/src/main/java/com/pholser/junit/quickcheck/generator/Distinct.java
index 54461982c..a9ed5bfd3 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/generator/Distinct.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/generator/Distinct.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/generator/Fields.java b/core/src/main/java/com/pholser/junit/quickcheck/generator/Fields.java
index 22a55f45c..1a4fa2de8 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/generator/Fields.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/generator/Fields.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/generator/Gen.java b/core/src/main/java/com/pholser/junit/quickcheck/generator/Gen.java
index 3971d0ca9..3ae01a4d6 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/generator/Gen.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/generator/Gen.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/generator/GenerationStatus.java b/core/src/main/java/com/pholser/junit/quickcheck/generator/GenerationStatus.java
index 1a5a7f647..2aa8de8fb 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/generator/GenerationStatus.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/generator/GenerationStatus.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/generator/Generator.java b/core/src/main/java/com/pholser/junit/quickcheck/generator/Generator.java
index 99b31d43d..f33c0e814 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/generator/Generator.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/generator/Generator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
@@ -62,7 +62,7 @@ public abstract class Generator implements Gen, Shrink {
* @param type class token for type of property parameter this generator is
* applicable to
*/
- @SuppressWarnings("unchecked") protected Generator(Class type) {
+ protected Generator(Class type) {
this(singletonList(type));
}
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/generator/GeneratorConfiguration.java b/core/src/main/java/com/pholser/junit/quickcheck/generator/GeneratorConfiguration.java
index 329042ce0..5cca1f862 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/generator/GeneratorConfiguration.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/generator/GeneratorConfiguration.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/generator/GeneratorConfigurationException.java b/core/src/main/java/com/pholser/junit/quickcheck/generator/GeneratorConfigurationException.java
index f96a75845..82f527843 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/generator/GeneratorConfigurationException.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/generator/GeneratorConfigurationException.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/generator/Generators.java b/core/src/main/java/com/pholser/junit/quickcheck/generator/Generators.java
index 78581819b..0d7f6d5dd 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/generator/Generators.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/generator/Generators.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/generator/Lambdas.java b/core/src/main/java/com/pholser/junit/quickcheck/generator/Lambdas.java
index 0021370b3..9173701bf 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/generator/Lambdas.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/generator/Lambdas.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/generator/Only.java b/core/src/main/java/com/pholser/junit/quickcheck/generator/Only.java
index dae462351..a067c36a9 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/generator/Only.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/generator/Only.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/generator/Shrink.java b/core/src/main/java/com/pholser/junit/quickcheck/generator/Shrink.java
index 04290944f..775adc60e 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/generator/Shrink.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/generator/Shrink.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/generator/Size.java b/core/src/main/java/com/pholser/junit/quickcheck/generator/Size.java
index 00f0dee35..090ab3d96 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/generator/Size.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/generator/Size.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/generator/ValuesOf.java b/core/src/main/java/com/pholser/junit/quickcheck/generator/ValuesOf.java
index 586e4debe..10d459185 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/generator/ValuesOf.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/generator/ValuesOf.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/hook/NilMinimalCounterexampleHook.java b/core/src/main/java/com/pholser/junit/quickcheck/hook/NilMinimalCounterexampleHook.java
index cb11114d4..c35b1d9e6 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/hook/NilMinimalCounterexampleHook.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/hook/NilMinimalCounterexampleHook.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/internal/CartesianIterator.java b/core/src/main/java/com/pholser/junit/quickcheck/internal/CartesianIterator.java
index 9a5e7cc0a..9d5074a95 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/internal/CartesianIterator.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/internal/CartesianIterator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/internal/Comparables.java b/core/src/main/java/com/pholser/junit/quickcheck/internal/Comparables.java
index 6f0148310..916b1a736 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/internal/Comparables.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/internal/Comparables.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/internal/FakeAnnotatedTypeFactory.java b/core/src/main/java/com/pholser/junit/quickcheck/internal/FakeAnnotatedTypeFactory.java
index bebd7368f..e2d2b2dd4 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/internal/FakeAnnotatedTypeFactory.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/internal/FakeAnnotatedTypeFactory.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/internal/GeometricDistribution.java b/core/src/main/java/com/pholser/junit/quickcheck/internal/GeometricDistribution.java
index 00dad29be..fc19c7472 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/internal/GeometricDistribution.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/internal/GeometricDistribution.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/internal/Items.java b/core/src/main/java/com/pholser/junit/quickcheck/internal/Items.java
index 842f3dc70..c03e9eaad 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/internal/Items.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/internal/Items.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/internal/Lists.java b/core/src/main/java/com/pholser/junit/quickcheck/internal/Lists.java
index 85df6589c..0b5d254f3 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/internal/Lists.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/internal/Lists.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/internal/ParameterSampler.java b/core/src/main/java/com/pholser/junit/quickcheck/internal/ParameterSampler.java
index cfa97988e..c92f1a617 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/internal/ParameterSampler.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/internal/ParameterSampler.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/internal/ParameterTypeContext.java b/core/src/main/java/com/pholser/junit/quickcheck/internal/ParameterTypeContext.java
index 605c2da74..503a0dc04 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/internal/ParameterTypeContext.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/internal/ParameterTypeContext.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
@@ -25,36 +25,39 @@ a copy of this software and associated documentation files (the
package com.pholser.junit.quickcheck.internal;
+import com.pholser.junit.quickcheck.From;
+import com.pholser.junit.quickcheck.generator.Generator;
+import com.pholser.junit.quickcheck.random.SourceOfRandomness;
+import org.javaruntype.type.ExtendsTypeParameter;
+import org.javaruntype.type.StandardTypeParameter;
+import org.javaruntype.type.TypeParameter;
+import org.javaruntype.type.Types;
+import org.javaruntype.type.WildcardTypeParameter;
+import ru.vyarus.java.generics.resolver.GenericsResolver;
+import ru.vyarus.java.generics.resolver.context.ConstructorGenericsContext;
+import ru.vyarus.java.generics.resolver.context.GenericsContext;
+import ru.vyarus.java.generics.resolver.context.MethodGenericsContext;
+
import java.lang.reflect.AnnotatedArrayType;
import java.lang.reflect.AnnotatedElement;
import java.lang.reflect.AnnotatedType;
import java.lang.reflect.AnnotatedWildcardType;
import java.lang.reflect.Constructor;
+import java.lang.reflect.Executable;
import java.lang.reflect.Field;
+import java.lang.reflect.Method;
import java.lang.reflect.Parameter;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
import java.lang.reflect.TypeVariable;
import java.util.ArrayList;
import java.util.List;
-import java.util.Map;
import java.util.Set;
-import com.pholser.junit.quickcheck.From;
-import com.pholser.junit.quickcheck.generator.Generator;
-import com.pholser.junit.quickcheck.random.SourceOfRandomness;
-import org.javaruntype.type.ExtendsTypeParameter;
-import org.javaruntype.type.StandardTypeParameter;
-import org.javaruntype.type.TypeParameter;
-import org.javaruntype.type.Types;
-import org.javaruntype.type.WildcardTypeParameter;
-
-import static java.lang.String.*;
-import static java.util.Collections.*;
-import static java.util.stream.Collectors.*;
-
import static com.pholser.junit.quickcheck.internal.Items.*;
import static com.pholser.junit.quickcheck.internal.Reflection.*;
+import static java.lang.String.*;
+import static java.util.Collections.*;
import static org.javaruntype.type.Types.*;
public class ParameterTypeContext {
@@ -65,71 +68,121 @@ public class ParameterTypeContext {
private final String parameterName;
private final AnnotatedType parameterType;
private final String declarerName;
- private final org.javaruntype.type.Type> token;
+ private final org.javaruntype.type.Type> resolved;
private final List>> explicits = new ArrayList<>();
- private final Map> typeVariables;
+ private final GenericsContext generics;
+ private final int parameterIndex;
private AnnotatedElement annotatedElement;
private boolean allowMixedTypes;
- public ParameterTypeContext(
- String parameterName,
- AnnotatedType parameterType,
- String declarerName) {
+ public static ParameterTypeContext forClass(Class> clazz) {
+ return new ParameterTypeContext(
+ clazz.getTypeName(),
+ FakeAnnotatedTypeFactory.makeFrom(clazz),
+ clazz.getTypeName(),
+ Types.forJavaLangReflectType(clazz),
+ GenericsResolver.resolve(clazz));
+ }
- this(
- parameterName,
- parameterType,
+ public static ParameterTypeContext forField(Field field) {
+ GenericsContext generics =
+ GenericsResolver.resolve(field.getDeclaringClass());
+
+ return new ParameterTypeContext(
+ field.getName(),
+ field.getAnnotatedType(),
+ field.getDeclaringClass().getName(),
+ Types.forJavaLangReflectType(generics.resolveFieldType(field)),
+ generics);
+ }
+
+ public static ParameterTypeContext forParameter(Parameter parameter) {
+ Executable exec = parameter.getDeclaringExecutable();
+ Class> clazz = exec.getDeclaringClass();
+ String declarerName = clazz.getName() + '.' + exec.getName();
+ int parameterIndex = parameterIndex(parameter);
+
+ GenericsContext generics;
+ org.javaruntype.type.Type> resolved;
+
+ if (exec instanceof Method) {
+ MethodGenericsContext methodGenerics =
+ GenericsResolver.resolve(clazz).method((Method) exec);
+ resolved =
+ Types.forJavaLangReflectType(
+ methodGenerics.resolveParameterType(parameterIndex));
+ generics = methodGenerics;
+ } else if (exec instanceof Constructor>) {
+ ConstructorGenericsContext constructorGenerics =
+ GenericsResolver.resolve(clazz).constructor(
+ (Constructor>) exec);
+ resolved =
+ Types.forJavaLangReflectType(
+ constructorGenerics.resolveParameterType(parameterIndex));
+ generics = constructorGenerics;
+ } else {
+ throw new IllegalStateException("Unrecognized subtype of Executable");
+ }
+
+ return new ParameterTypeContext(
+ parameter.getName(),
+ parameter.getAnnotatedType(),
declarerName,
- emptyMap());
+ resolved,
+ generics,
+ parameterIndex);
}
- public ParameterTypeContext(
+ public static ParameterTypeContext forParameter(
+ Parameter parameter,
+ MethodGenericsContext generics) {
+
+ Executable exec = parameter.getDeclaringExecutable();
+ Class> clazz = exec.getDeclaringClass();
+ String declarerName = clazz.getName() + '.' + exec.getName();
+ int parameterIndex = parameterIndex(parameter);
+
+ return new ParameterTypeContext(
+ parameter.getName(),
+ parameter.getAnnotatedType(),
+ declarerName,
+ Types.forJavaLangReflectType(
+ generics.resolveParameterType(parameterIndex)),
+ generics,
+ parameterIndex);
+ }
+
+ private ParameterTypeContext(
String parameterName,
AnnotatedType parameterType,
String declarerName,
- Map typeVariables) {
+ org.javaruntype.type.Type> resolvedType,
+ GenericsContext generics) {
this(
parameterName,
parameterType,
declarerName,
- Types.forJavaLangReflectType(
- parameterType.getType(),
- toTokens(typeVariables)),
- toTokens(typeVariables));
+ resolvedType,
+ generics,
+ -1);
}
- public ParameterTypeContext(
+ private ParameterTypeContext(
String parameterName,
AnnotatedType parameterType,
String declarerName,
- org.javaruntype.type.Type> token,
- Map> typeVariables) {
+ org.javaruntype.type.Type> resolvedType,
+ GenericsContext generics,
+ int parameterIndex) {
this.parameterName = parameterName;
this.parameterType = parameterType;
this.declarerName = declarerName;
- this.token = token;
- this.typeVariables = typeVariables;
- }
-
- public ParameterTypeContext(Class> clazz) {
- this(
- clazz.getTypeName(),
- FakeAnnotatedTypeFactory.makeFrom(clazz),
- clazz.getTypeName(),
- Types.forJavaLangReflectType(clazz),
- emptyMap());
- }
-
- private static Map> toTokens(
- Map typeVariables) {
-
- return typeVariables.entrySet().stream()
- .collect(toMap(
- Map.Entry::getKey,
- e -> Types.forJavaLangReflectType(e.getValue())));
+ this.resolved = resolvedType;
+ this.generics = generics;
+ this.parameterIndex = parameterIndex;
}
public ParameterTypeContext annotate(AnnotatedElement element) {
@@ -152,6 +205,31 @@ public boolean allowMixedTypes() {
return allowMixedTypes;
}
+ /**
+ * Gives a context for generation of the return type of a lambda method.
+ *
+ * @param method method whose return type we want to resolve
+ * @return an associated parameter context
+ */
+ public ParameterTypeContext methodReturnTypeContext(Method method) {
+ if (!(generics instanceof MethodGenericsContext)) {
+ throw new IllegalStateException(
+ "invoking methodReturnTypeContext in present of " + generics);
+ }
+
+ MethodGenericsContext testMethodGenerics =
+ (MethodGenericsContext) generics;
+ MethodGenericsContext argMethodGenerics =
+ testMethodGenerics.parameterType(parameterIndex).method(method);
+
+ return new ParameterTypeContext(
+ "return value",
+ method.getAnnotatedReturnType(),
+ method.getName(),
+ Types.forJavaLangReflectType(argMethodGenerics.resolveReturnType()),
+ argMethodGenerics);
+ }
+
private void addGenerators(List generators) {
for (From each : generators) {
Generator> generator = makeGenerator(each.value());
@@ -175,19 +253,16 @@ private Generator> makeGenerator(Class extends Generator> generatorType) {
private Class> rawParameterType() {
if (type() instanceof ParameterizedType)
- return (Class>) ((ParameterizedType) type()).getRawType();
+ return resolved.getRawClass();
if (type() instanceof TypeVariable>)
- return typeVariables.get(((TypeVariable>) type()).getName()).getRawClass();
+ return resolved.getRawClass();
return (Class>) type();
}
private void ensureCorrectType(Generator> generator) {
- org.javaruntype.type.Type> parameterTypeToken =
- Types.forJavaLangReflectType(type(), typeVariables);
-
for (Class> each : generator.types()) {
- if (!maybeWrap(parameterTypeToken.getRawClass()).isAssignableFrom(maybeWrap(each))) {
+ if (!maybeWrap(resolved.getRawClass()).isAssignableFrom(maybeWrap(each))) {
throw new IllegalArgumentException(
format(
EXPLICIT_GENERATOR_TYPE_MISMATCH_MESSAGE,
@@ -233,27 +308,25 @@ public AnnotatedElement annotatedElement() {
*/
@Deprecated
public boolean topLevel() {
- return annotatedElement instanceof Parameter || annotatedElement instanceof Field;
+ return annotatedElement instanceof Parameter
+ || annotatedElement instanceof Field;
}
public List>> explicitGenerators() {
return unmodifiableList(explicits);
}
- public boolean isArray() {
- return token.isArray();
- }
-
public ParameterTypeContext arrayComponentContext() {
@SuppressWarnings("unchecked")
- org.javaruntype.type.Type> component = arrayComponentOf((org.javaruntype.type.Type) token);
+ org.javaruntype.type.Type> component =
+ arrayComponentOf((org.javaruntype.type.Type) resolved);
AnnotatedType annotatedComponent = annotatedArrayComponent(component);
return new ParameterTypeContext(
annotatedComponent.getType().getTypeName(),
annotatedComponent,
parameterType.getType().getTypeName(),
component,
- typeVariables)
+ generics)
.annotate(annotatedComponent)
.allowMixedTypes(true);
}
@@ -264,8 +337,12 @@ private AnnotatedType annotatedArrayComponent(org.javaruntype.type.Type> compo
: FakeAnnotatedTypeFactory.makeFrom(component.getComponentClass());
}
+ public boolean isArray() {
+ return resolved.isArray();
+ }
+
public Class> getRawClass() {
- return token.getRawClass();
+ return resolved.getRawClass();
}
public boolean isEnum() {
@@ -273,7 +350,7 @@ public boolean isEnum() {
}
public List> getTypeParameters() {
- return token.getTypeParameters();
+ return resolved.getTypeParameters();
}
public List typeParameterContexts(SourceOfRandomness random) {
@@ -314,7 +391,7 @@ private void addStandardTypeParameterContext(
a,
annotatedType().getType().getTypeName(),
p.getType(),
- typeVariables)
+ generics)
.allowMixedTypes(!(a instanceof TypeVariable))
.annotate(a));
}
@@ -329,7 +406,7 @@ private void addWildcardTypeParameterContext(
a,
annotatedType().getType().getTypeName(),
Types.forJavaLangReflectType(Zilch.class),
- typeVariables)
+ GenericsResolver.resolve(Zilch.class))
.allowMixedTypes(true)
.annotate(a));
}
@@ -345,7 +422,7 @@ private void addExtendsTypeParameterContext(
annotatedComponentTypes(a).get(0),
annotatedType().getType().getTypeName(),
p.getType(),
- typeVariables)
+ generics)
.allowMixedTypes(false)
.annotate(a));
}
@@ -365,14 +442,15 @@ private void addSuperTypeParameterContext(
annotatedComponentTypes(a).get(0),
annotatedType().getType().getTypeName(),
choice,
- typeVariables)
+ generics)
.allowMixedTypes(false)
.annotate(a));
}
private static AnnotatedType zilch() {
try {
- return ParameterTypeContext.class.getDeclaredField("zilch").getAnnotatedType();
+ return ParameterTypeContext.class.getDeclaredField("zilch")
+ .getAnnotatedType();
} catch (NoSuchFieldException e) {
throw new AssertionError(e);
}
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/internal/PropertyParameterContext.java b/core/src/main/java/com/pholser/junit/quickcheck/internal/PropertyParameterContext.java
index a8701fe48..6af6d28ea 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/internal/PropertyParameterContext.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/internal/PropertyParameterContext.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/internal/Ranges.java b/core/src/main/java/com/pholser/junit/quickcheck/internal/Ranges.java
index f8a71443e..c50caf41e 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/internal/Ranges.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/internal/Ranges.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/internal/Reflection.java b/core/src/main/java/com/pholser/junit/quickcheck/internal/Reflection.java
index 14ee5cbc9..a15e7a0dd 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/internal/Reflection.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/internal/Reflection.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
@@ -35,6 +35,7 @@ a copy of this software and associated documentation files (the
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
+import java.lang.reflect.Parameter;
import java.security.PrivilegedAction;
import java.util.ArrayList;
import java.util.Collections;
@@ -53,7 +54,8 @@ a copy of this software and associated documentation files (the
import static java.util.stream.Collectors.*;
public final class Reflection {
- private static final Map, Class>> PRIMITIVES = new HashMap<>(16);
+ private static final Map, Class>> PRIMITIVES =
+ new HashMap<>(16);
static {
PRIMITIVES.put(Boolean.TYPE, Boolean.class);
@@ -75,7 +77,10 @@ public static Class> maybeWrap(Class> clazz) {
return wrapped == null ? clazz : wrapped;
}
- public static Constructor findConstructor(Class type, Class>... parameterTypes) {
+ public static Constructor findConstructor(
+ Class type,
+ Class>... parameterTypes) {
+
try {
return type.getConstructor(parameterTypes);
} catch (Exception ex) {
@@ -83,7 +88,10 @@ public static Constructor findConstructor(Class type, Class>... para
}
}
- public static Constructor findDeclaredConstructor(Class type, Class>... parameterTypes) {
+ public static Constructor findDeclaredConstructor(
+ Class type,
+ Class>... parameterTypes) {
+
try {
Constructor ctor = type.getDeclaredConstructor(parameterTypes);
ctor.setAccessible(true);
@@ -94,10 +102,14 @@ public static Constructor findDeclaredConstructor(Class type, Class>
}
@SuppressWarnings("unchecked")
- public static Constructor singleAccessibleConstructor(Class type) {
+ public static Constructor singleAccessibleConstructor(
+ Class type) {
+
Constructor>[] constructors = type.getConstructors();
- if (constructors.length != 1)
- throw new ReflectionException(type + " needs a single accessible constructor");
+ if (constructors.length != 1) {
+ throw new ReflectionException(
+ type + " needs a single accessible constructor");
+ }
return (Constructor) constructors[0];
}
@@ -125,7 +137,10 @@ public static Set> supertypes(Type> bottom) {
return supertypes;
}
- public static Object defaultValueOf(Class extends Annotation> annotationType, String attribute) {
+ public static Object defaultValueOf(
+ Class extends Annotation> annotationType,
+ String attribute) {
+
try {
return annotationType.getMethod(attribute).getDefaultValue();
} catch (Exception ex) {
@@ -145,19 +160,28 @@ public static List allAnnotations(AnnotatedElement e) {
return annotations;
}
- public static List allAnnotationsByType(AnnotatedElement e, Class type) {
+ public static List allAnnotationsByType(
+ AnnotatedElement e,
+ Class type) {
+
List annotations = new ArrayList<>();
Collections.addAll(annotations, e.getAnnotationsByType(type));
List thisAnnotations = nonSystemAnnotations(e);
- for (Annotation each : thisAnnotations)
- annotations.addAll(allAnnotationsByType(each.annotationType(), type));
+ for (Annotation each : thisAnnotations) {
+ annotations.addAll(
+ allAnnotationsByType(each.annotationType(), type));
+ }
return annotations;
}
- public static Method findMethod(Class> target, String methodName, Class>... argTypes) {
+ public static Method findMethod(
+ Class> target,
+ String methodName,
+ Class>... argTypes) {
+
try {
return target.getMethod(methodName, argTypes);
} catch (Exception ex) {
@@ -221,7 +245,9 @@ public static Method singleAbstractMethodOf(Class> rawClass) {
int abstractCount = 0;
Method singleAbstractMethod = null;
for (Method each : rawClass.getMethods()) {
- if (isAbstract(each.getModifiers()) && !overridesJavaLangObjectMethod(each)) {
+ if (isAbstract(each.getModifiers())
+ && !overridesJavaLangObjectMethod(each)) {
+
singleAbstractMethod = each;
++abstractCount;
}
@@ -251,8 +277,10 @@ private static boolean isToString(Method method) {
}
public static RuntimeException reflectionException(Exception ex) {
- if (ex instanceof InvocationTargetException)
- return new ReflectionException(((InvocationTargetException) ex).getTargetException());
+ if (ex instanceof InvocationTargetException) {
+ return new ReflectionException(
+ ((InvocationTargetException) ex).getTargetException());
+ }
if (ex instanceof RuntimeException)
return (RuntimeException) ex;
@@ -261,20 +289,29 @@ public static RuntimeException reflectionException(Exception ex) {
private static List nonSystemAnnotations(AnnotatedElement e) {
return stream(e.getAnnotations())
- .filter(a -> !a.annotationType().getName().startsWith("java.lang.annotation."))
+ .filter(a ->
+ !a.annotationType().getName().startsWith(
+ "java.lang.annotation."))
.filter(a -> !a.annotationType().getName().startsWith("kotlin."))
.collect(toList());
}
- public static List annotatedComponentTypes(AnnotatedType annotatedType) {
- if (annotatedType instanceof AnnotatedParameterizedType)
- return asList(((AnnotatedParameterizedType) annotatedType).getAnnotatedActualTypeArguments());
-
- if (annotatedType instanceof AnnotatedArrayType)
- return singletonList(((AnnotatedArrayType) annotatedType).getAnnotatedGenericComponentType());
+ public static List annotatedComponentTypes(
+ AnnotatedType annotatedType) {
+ if (annotatedType instanceof AnnotatedParameterizedType) {
+ return asList(
+ ((AnnotatedParameterizedType) annotatedType)
+ .getAnnotatedActualTypeArguments());
+ }
+ if (annotatedType instanceof AnnotatedArrayType) {
+ return singletonList(
+ ((AnnotatedArrayType) annotatedType)
+ .getAnnotatedGenericComponentType());
+ }
if (annotatedType instanceof AnnotatedWildcardType) {
- AnnotatedWildcardType wildcard = (AnnotatedWildcardType) annotatedType;
+ AnnotatedWildcardType wildcard =
+ (AnnotatedWildcardType) annotatedType;
if (wildcard.getAnnotatedLowerBounds().length > 0)
return singletonList(wildcard.getAnnotatedLowerBounds()[0]);
@@ -283,4 +320,18 @@ public static List annotatedComponentTypes(AnnotatedType annotate
return emptyList();
}
+
+ public static int parameterIndex(Parameter parameter) {
+ try {
+ Field indexField = Parameter.class.getDeclaredField("index");
+ doPrivileged((PrivilegedAction) () -> {
+ indexField.setAccessible(true);
+ return null;
+ });
+
+ return (Integer) indexField.get(parameter);
+ } catch (Exception ex) {
+ throw reflectionException(ex);
+ }
+ }
}
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/internal/ReflectionException.java b/core/src/main/java/com/pholser/junit/quickcheck/internal/ReflectionException.java
index ca986cfc0..8680a2089 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/internal/ReflectionException.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/internal/ReflectionException.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/internal/SeededValue.java b/core/src/main/java/com/pholser/junit/quickcheck/internal/SeededValue.java
index 21c88e590..4a0914326 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/internal/SeededValue.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/internal/SeededValue.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/internal/Sequences.java b/core/src/main/java/com/pholser/junit/quickcheck/internal/Sequences.java
index 7a1af7dd2..07fa45948 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/internal/Sequences.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/internal/Sequences.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/internal/ShrinkControl.java b/core/src/main/java/com/pholser/junit/quickcheck/internal/ShrinkControl.java
index a01e1bbd8..53391e056 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/internal/ShrinkControl.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/internal/ShrinkControl.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/internal/Weighted.java b/core/src/main/java/com/pholser/junit/quickcheck/internal/Weighted.java
index 91e45f08e..5b002c5f3 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/internal/Weighted.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/internal/Weighted.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/internal/Zilch.java b/core/src/main/java/com/pholser/junit/quickcheck/internal/Zilch.java
index bdf352373..f4c31f16c 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/internal/Zilch.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/internal/Zilch.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/internal/constraint/ConstraintEvaluator.java b/core/src/main/java/com/pholser/junit/quickcheck/internal/constraint/ConstraintEvaluator.java
index 19f423ba5..d417a6854 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/internal/constraint/ConstraintEvaluator.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/internal/constraint/ConstraintEvaluator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/internal/conversion/ConstructorInvokingStringConversion.java b/core/src/main/java/com/pholser/junit/quickcheck/internal/conversion/ConstructorInvokingStringConversion.java
index 5181cedac..e101d255f 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/internal/conversion/ConstructorInvokingStringConversion.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/internal/conversion/ConstructorInvokingStringConversion.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/internal/conversion/MethodInvokingStringConversion.java b/core/src/main/java/com/pholser/junit/quickcheck/internal/conversion/MethodInvokingStringConversion.java
index c1d1d0d83..4deb79572 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/internal/conversion/MethodInvokingStringConversion.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/internal/conversion/MethodInvokingStringConversion.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/internal/conversion/StringConversions.java b/core/src/main/java/com/pholser/junit/quickcheck/internal/conversion/StringConversions.java
index 7f5481e98..f4a07c58c 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/internal/conversion/StringConversions.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/internal/conversion/StringConversions.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/AbstractGenerationStatus.java b/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/AbstractGenerationStatus.java
index 6aefa1a3f..cdcdc6d19 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/AbstractGenerationStatus.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/AbstractGenerationStatus.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/ArrayGenerator.java b/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/ArrayGenerator.java
index ee5c47b0e..d3bc72d93 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/ArrayGenerator.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/ArrayGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/CompositeGenerator.java b/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/CompositeGenerator.java
index 9a66e6f93..e691804c9 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/CompositeGenerator.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/CompositeGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/EnumGenerator.java b/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/EnumGenerator.java
index 37295f73f..5b6292513 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/EnumGenerator.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/EnumGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/ExhaustiveDomainGenerator.java b/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/ExhaustiveDomainGenerator.java
index 979667b66..5e14dd2ee 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/ExhaustiveDomainGenerator.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/ExhaustiveDomainGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/GeneratorRepository.java b/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/GeneratorRepository.java
index 855b947c2..3675d7f2a 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/GeneratorRepository.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/GeneratorRepository.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
@@ -52,7 +52,6 @@ a copy of this software and associated documentation files (the
import com.pholser.junit.quickcheck.internal.Zilch;
import com.pholser.junit.quickcheck.random.SourceOfRandomness;
import org.javaruntype.type.TypeParameter;
-import org.javaruntype.type.Types;
import static java.util.Arrays.*;
import static java.util.Collections.*;
@@ -74,7 +73,10 @@ public GeneratorRepository(SourceOfRandomness random) {
this(random, new HashMap<>());
}
- private GeneratorRepository(SourceOfRandomness random, Map, Set>> generators) {
+ private GeneratorRepository(
+ SourceOfRandomness random,
+ Map, Set>> generators) {
+
this.random = random;
this.generators = generators;
}
@@ -154,7 +156,8 @@ private void registerGeneratorForType(
@SuppressWarnings("unchecked")
@Override public Generator type(Class type, Class>... componentTypes) {
Generator generator =
- (Generator) produceGenerator(new ParameterTypeContext(type));
+ (Generator) produceGenerator(
+ ParameterTypeContext.forClass(type));
generator.addComponentGenerators(
Arrays.stream(componentTypes).map(c -> type(c)).collect(toList()));
return generator;
@@ -162,20 +165,12 @@ private void registerGeneratorForType(
@Override public Generator> parameter(Parameter parameter) {
return produceGenerator(
- new ParameterTypeContext(
- parameter.getName(),
- parameter.getAnnotatedType(),
- parameter.getDeclaringExecutable().getName()
- ).annotate(parameter));
+ ParameterTypeContext.forParameter(parameter).annotate(parameter));
}
@Override public Generator> field(Field field) {
return produceGenerator(
- new ParameterTypeContext(
- field.getName(),
- field.getAnnotatedType(),
- field.getDeclaringClass().getName()
- ).annotate(field));
+ ParameterTypeContext.forField(field).annotate(field));
}
@SafeVarargs
@@ -306,12 +301,7 @@ private void maybeAddLambdaGenerator(
Method method = singleAbstractMethodOf(parameter.getRawClass());
if (method != null) {
ParameterTypeContext returnType =
- new ParameterTypeContext(
- "return value",
- method.getAnnotatedReturnType(),
- method.getName())
- .annotate(method.getAnnotatedReturnType())
- .allowMixedTypes(true);
+ parameter.methodReturnTypeContext(method);
Generator> returnTypeGenerator = generatorFor(returnType);
Generator> lambda =
@@ -361,18 +351,17 @@ private Generator> composeWeighted(
: new CompositeGenerator(matches);
}
- private void applyComponentGenerators(Generator> generator, List> componentGenerators) {
+ private void applyComponentGenerators(
+ Generator> generator,
+ List> componentGenerators) {
+
if (generator.hasComponents()) {
if (componentGenerators.isEmpty()) {
List> substitutes = new ArrayList<>();
- Generator> zilch = generatorFor(
- new ParameterTypeContext(
- "Zilch",
- null,
- getClass().getName(),
- token(Zilch.class),
- emptyMap())
- .allowMixedTypes(true));
+ Generator> zilch =
+ generatorFor(
+ ParameterTypeContext.forClass(Zilch.class)
+ .allowMixedTypes(true));
for (int i = 0; i < generator.numberOfNeededComponents(); ++i)
substitutes.add(zilch);
@@ -401,10 +390,6 @@ private boolean hasGeneratorsFor(ParameterTypeContext parameter) {
return generators.get(parameter.getRawClass()) != null;
}
- private static org.javaruntype.type.Type> token(Type type) {
- return Types.forJavaLangReflectType(type);
- }
-
private static boolean isPrimitiveType(Type type) {
return type instanceof Class> && ((Class>)type).isPrimitive();
}
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/GuaranteeValuesGenerator.java b/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/GuaranteeValuesGenerator.java
index da6745111..338c2bc85 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/GuaranteeValuesGenerator.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/GuaranteeValuesGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/LambdaGenerator.java b/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/LambdaGenerator.java
index 0a415dab0..d086c2e34 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/LambdaGenerator.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/LambdaGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/NullableGenerator.java b/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/NullableGenerator.java
index 8cdc5479f..cd4d20470 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/NullableGenerator.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/NullableGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/PropertyParameterGenerationContext.java b/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/PropertyParameterGenerationContext.java
index b04d91c45..9a05be4bd 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/PropertyParameterGenerationContext.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/PropertyParameterGenerationContext.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/SamplingDomainGenerator.java b/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/SamplingDomainGenerator.java
index cc8f0dd71..c543568a2 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/SamplingDomainGenerator.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/SamplingDomainGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/ServiceLoaderGeneratorSource.java b/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/ServiceLoaderGeneratorSource.java
index 56730b146..3342789fc 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/ServiceLoaderGeneratorSource.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/ServiceLoaderGeneratorSource.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/SimpleGenerationStatus.java b/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/SimpleGenerationStatus.java
index 40ba8ef83..214400d55 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/SimpleGenerationStatus.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/SimpleGenerationStatus.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/ZilchGenerator.java b/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/ZilchGenerator.java
index 704fc96be..7cbca7523 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/ZilchGenerator.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/internal/generator/ZilchGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/internal/sampling/ExhaustiveParameterSampler.java b/core/src/main/java/com/pholser/junit/quickcheck/internal/sampling/ExhaustiveParameterSampler.java
index 0232df551..992ec8ce6 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/internal/sampling/ExhaustiveParameterSampler.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/internal/sampling/ExhaustiveParameterSampler.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/internal/sampling/TupleParameterSampler.java b/core/src/main/java/com/pholser/junit/quickcheck/internal/sampling/TupleParameterSampler.java
index 7b9a4a49b..afb83c8bd 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/internal/sampling/TupleParameterSampler.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/internal/sampling/TupleParameterSampler.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/random/SourceOfRandomness.java b/core/src/main/java/com/pholser/junit/quickcheck/random/SourceOfRandomness.java
index 83df05e33..ff46e4a51 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/random/SourceOfRandomness.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/random/SourceOfRandomness.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/runner/JUnitQuickcheck.java b/core/src/main/java/com/pholser/junit/quickcheck/runner/JUnitQuickcheck.java
index 4c6d5bd70..b594cb3b1 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/runner/JUnitQuickcheck.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/runner/JUnitQuickcheck.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/runner/PropertyFalsified.java b/core/src/main/java/com/pholser/junit/quickcheck/runner/PropertyFalsified.java
index 8b8f558b1..7a23acaaa 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/runner/PropertyFalsified.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/runner/PropertyFalsified.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/runner/PropertyStatement.java b/core/src/main/java/com/pholser/junit/quickcheck/runner/PropertyStatement.java
index f5e82df7d..f2da999dc 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/runner/PropertyStatement.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/runner/PropertyStatement.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
@@ -25,16 +25,6 @@ a copy of this software and associated documentation files (the
package com.pholser.junit.quickcheck.runner;
-import java.lang.reflect.Executable;
-import java.lang.reflect.Parameter;
-import java.lang.reflect.Type;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.List;
-import java.util.Map;
-import java.util.Random;
-import java.util.stream.Stream;
-
import com.pholser.junit.quickcheck.Property;
import com.pholser.junit.quickcheck.internal.GeometricDistribution;
import com.pholser.junit.quickcheck.internal.ParameterSampler;
@@ -44,9 +34,9 @@ a copy of this software and associated documentation files (the
import com.pholser.junit.quickcheck.internal.ShrinkControl;
import com.pholser.junit.quickcheck.internal.generator.GeneratorRepository;
import com.pholser.junit.quickcheck.internal.generator.PropertyParameterGenerationContext;
-import com.pholser.junit.quickcheck.random.SourceOfRandomness;
import com.pholser.junit.quickcheck.internal.sampling.ExhaustiveParameterSampler;
import com.pholser.junit.quickcheck.internal.sampling.TupleParameterSampler;
+import com.pholser.junit.quickcheck.random.SourceOfRandomness;
import org.junit.internal.AssumptionViolatedException;
import org.junit.runners.model.FrameworkMethod;
import org.junit.runners.model.InitializationError;
@@ -54,10 +44,17 @@ a copy of this software and associated documentation files (the
import org.junit.runners.model.TestClass;
import org.slf4j.Logger;
import ru.vyarus.java.generics.resolver.GenericsResolver;
+import ru.vyarus.java.generics.resolver.context.MethodGenericsContext;
-import static java.util.stream.Collectors.*;
+import java.lang.reflect.Parameter;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.List;
+import java.util.Random;
+import java.util.stream.Stream;
import static com.pholser.junit.quickcheck.runner.PropertyFalsified.*;
+import static java.util.stream.Collectors.*;
class PropertyStatement extends Statement {
private final FrameworkMethod method;
@@ -85,18 +82,16 @@ class PropertyStatement extends Statement {
}
@Override public void evaluate() throws Throwable {
- Map typeVariables =
- GenericsResolver.resolve(testClass.getJavaClass())
- .method(method.getMethod())
- .genericsMap();
-
Property marker = method.getAnnotation(Property.class);
ParameterSampler sampler = sampler(marker);
ShrinkControl shrinkControl = new ShrinkControl(marker);
- List parameters =
- Arrays.stream(method.getMethod().getParameters())
- .map(p -> parameterContextFor(p, typeVariables))
+ MethodGenericsContext generics =
+ GenericsResolver.resolve(testClass.getJavaClass())
+ .method(this.method.getMethod());
+ List paramContexts =
+ Arrays.stream(this.method.getMethod().getParameters())
+ .map(p -> parameterContextFor(p, generics))
.map(p -> new PropertyParameterGenerationContext(
p,
repo,
@@ -106,7 +101,7 @@ class PropertyStatement extends Statement {
))
.collect(toList());
- Stream> sample = sampler.sample(parameters);
+ Stream> sample = sampler.sample(paramContexts);
for (List args : (Iterable>) sample::iterator)
property(args, shrinkControl).verify();
@@ -176,14 +171,10 @@ private void shrink(
private PropertyParameterContext parameterContextFor(
Parameter parameter,
- Map typeVariables) {
+ MethodGenericsContext generics) {
return new PropertyParameterContext(
- new ParameterTypeContext(
- parameter.getName(),
- parameter.getAnnotatedType(),
- declarerName(parameter),
- typeVariables)
+ ParameterTypeContext.forParameter(parameter, generics)
.allowMixedTypes(true)
).annotate(parameter);
}
@@ -198,9 +189,4 @@ private ParameterSampler sampler(Property marker) {
throw new AssertionError("Don't recognize mode " + marker.mode());
}
}
-
- private static String declarerName(Parameter p) {
- Executable exec = p.getDeclaringExecutable();
- return exec.getDeclaringClass().getName() + '.' + exec.getName();
- }
}
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/runner/PropertyVerifier.java b/core/src/main/java/com/pholser/junit/quickcheck/runner/PropertyVerifier.java
index 0b61894fd..8ee3e8abb 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/runner/PropertyVerifier.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/runner/PropertyVerifier.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/runner/ShrinkNode.java b/core/src/main/java/com/pholser/junit/quickcheck/runner/ShrinkNode.java
index 45640382f..cad7f6896 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/runner/ShrinkNode.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/runner/ShrinkNode.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/com/pholser/junit/quickcheck/runner/Shrinker.java b/core/src/main/java/com/pholser/junit/quickcheck/runner/Shrinker.java
index ef01294ba..23db3a162 100644
--- a/core/src/main/java/com/pholser/junit/quickcheck/runner/Shrinker.java
+++ b/core/src/main/java/com/pholser/junit/quickcheck/runner/Shrinker.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/main/java/org/junit/runners/model/JUnitQuickcheckTestClass.java b/core/src/main/java/org/junit/runners/model/JUnitQuickcheckTestClass.java
index dfcd893cf..428db2d87 100644
--- a/core/src/main/java/org/junit/runners/model/JUnitQuickcheckTestClass.java
+++ b/core/src/main/java/org/junit/runners/model/JUnitQuickcheckTestClass.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/Annotations.java b/core/src/test/java/com/pholser/junit/quickcheck/Annotations.java
index 4f5ea3b4e..bd17f85b8 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/Annotations.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/Annotations.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/BasicCapabilitiesOfGeneratorTest.java b/core/src/test/java/com/pholser/junit/quickcheck/BasicCapabilitiesOfGeneratorTest.java
index 2ac7b0b9a..2b375ace9 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/BasicCapabilitiesOfGeneratorTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/BasicCapabilitiesOfGeneratorTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/Classes.java b/core/src/test/java/com/pholser/junit/quickcheck/Classes.java
index 7e36c7401..c042e8d8e 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/Classes.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/Classes.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
@@ -25,20 +25,16 @@ a copy of this software and associated documentation files (the
package com.pholser.junit.quickcheck;
-import java.io.IOException;
-import java.nio.charset.Charset;
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.LinkedHashSet;
-import java.util.List;
-import java.util.Set;
-import java.util.stream.StreamSupport;
-
import com.google.common.io.Resources;
import org.hamcrest.Description;
import org.hamcrest.Matcher;
import org.hamcrest.TypeSafeMatcher;
+import java.io.IOException;
+import java.nio.charset.Charset;
+import java.util.List;
+import java.util.stream.StreamSupport;
+
import static com.google.common.io.Resources.*;
import static java.util.stream.Collectors.*;
@@ -71,45 +67,6 @@ static List> classesOf(Iterable> items) {
.collect(toList());
}
- static Class> nearestCommonSuperclassOf(List> classes) {
- return commonSuperclassesOf(classes).get(0);
- }
-
- private static List> commonSuperclassesOf(List> classes) {
- Set> intersection =
- new LinkedHashSet<>(getClassesBreadthFirst(classes.get(0)));
-
- if (classes.size() > 1) {
- for (Class> each : classes.subList(1, classes.size()))
- intersection.retainAll(getClassesBreadthFirst(each));
- }
-
- return new ArrayList<>(intersection);
- }
-
- private static Set> getClassesBreadthFirst(Class> clazz) {
- Set> classes = new LinkedHashSet<>();
- Set> nextLevel = new LinkedHashSet<>();
- nextLevel.add(clazz);
-
- do {
- classes.addAll(nextLevel);
-
- Set> thisLevel = new LinkedHashSet<>(nextLevel);
- nextLevel.clear();
-
- for (Class> each : thisLevel) {
- Class> superClass = each.getSuperclass();
- if (superClass != null && superClass != Object.class)
- nextLevel.add(superClass);
-
- Collections.addAll(nextLevel, each.getInterfaces());
- }
- } while (!nextLevel.isEmpty());
-
- return classes;
- }
-
static String resourceAsString(String name) throws IOException {
return Resources.toString(getResource(name), Charset.forName("UTF-8"));
}
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/ComponentizedGeneratorsIsolateConfigurationFromComponentsTest.java b/core/src/test/java/com/pholser/junit/quickcheck/ComponentizedGeneratorsIsolateConfigurationFromComponentsTest.java
index b6cc948cb..cf0f96d6f 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/ComponentizedGeneratorsIsolateConfigurationFromComponentsTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/ComponentizedGeneratorsIsolateConfigurationFromComponentsTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/ComposedObjectsTest.java b/core/src/test/java/com/pholser/junit/quickcheck/ComposedObjectsTest.java
index 9f3549b0c..adf94bf3a 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/ComposedObjectsTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/ComposedObjectsTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/EnumPropertyParameterTypesTest.java b/core/src/test/java/com/pholser/junit/quickcheck/EnumPropertyParameterTypesTest.java
index b8c1ae28d..0fba9a7ee 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/EnumPropertyParameterTypesTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/EnumPropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/EqualsHashCodePropertiesTest.java b/core/src/test/java/com/pholser/junit/quickcheck/EqualsHashCodePropertiesTest.java
index 8a6c40dc8..5cafe02b9 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/EqualsHashCodePropertiesTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/EqualsHashCodePropertiesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/ExhaustingAGivenSetButIncludingAnotherTest.java b/core/src/test/java/com/pholser/junit/quickcheck/ExhaustingAGivenSetButIncludingAnotherTest.java
index 0f75e7d68..e075cb0c5 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/ExhaustingAGivenSetButIncludingAnotherTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/ExhaustingAGivenSetButIncludingAnotherTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/ExhaustingAGivenSetTest.java b/core/src/test/java/com/pholser/junit/quickcheck/ExhaustingAGivenSetTest.java
index 622e5ceea..0b88371fd 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/ExhaustingAGivenSetTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/ExhaustingAGivenSetTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/FilterTest.java b/core/src/test/java/com/pholser/junit/quickcheck/FilterTest.java
index 02102a8ed..ea128e0b2 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/FilterTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/FilterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/FooEqualsHashCodeTest.java b/core/src/test/java/com/pholser/junit/quickcheck/FooEqualsHashCodeTest.java
index 5e784a7ae..44f3b87ea 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/FooEqualsHashCodeTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/FooEqualsHashCodeTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/Functions.java b/core/src/test/java/com/pholser/junit/quickcheck/Functions.java
index ebfeff633..1c9b89085 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/Functions.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/Functions.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/GeneratorTest.java b/core/src/test/java/com/pholser/junit/quickcheck/GeneratorTest.java
index 3ec14478c..ce6ccc242 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/GeneratorTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/GeneratorTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/GenericArrayPropertyParameterTypesTest.java b/core/src/test/java/com/pholser/junit/quickcheck/GenericArrayPropertyParameterTypesTest.java
index 8762e610d..3180b5a28 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/GenericArrayPropertyParameterTypesTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/GenericArrayPropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/LambdaPropertyParameterTypesTest.java b/core/src/test/java/com/pholser/junit/quickcheck/LambdaPropertyParameterTypesTest.java
index 9319b6c33..0d7fb5d49 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/LambdaPropertyParameterTypesTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/LambdaPropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/Lists.java b/core/src/test/java/com/pholser/junit/quickcheck/Lists.java
index ad266b7a0..a7687d215 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/Lists.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/Lists.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/LongRunning.java b/core/src/test/java/com/pholser/junit/quickcheck/LongRunning.java
index 5ec115773..8a142fdbc 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/LongRunning.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/LongRunning.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/MapFlatMapTest.java b/core/src/test/java/com/pholser/junit/quickcheck/MapFlatMapTest.java
index 0f6bb600c..77e626d0e 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/MapFlatMapTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/MapFlatMapTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/MarkingTypeUsesOnPropertyParametersWithConfigurationTest.java b/core/src/test/java/com/pholser/junit/quickcheck/MarkingTypeUsesOnPropertyParametersWithConfigurationTest.java
index 3c2c616f7..d184f3581 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/MarkingTypeUsesOnPropertyParametersWithConfigurationTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/MarkingTypeUsesOnPropertyParametersWithConfigurationTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/MinimalCounterexampleHookTest.java b/core/src/test/java/com/pholser/junit/quickcheck/MinimalCounterexampleHookTest.java
index bab16a9fc..28a2e9670 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/MinimalCounterexampleHookTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/MinimalCounterexampleHookTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/Objects.java b/core/src/test/java/com/pholser/junit/quickcheck/Objects.java
index b6d22fce3..a8a6a6a41 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/Objects.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/Objects.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/PairTest.java b/core/src/test/java/com/pholser/junit/quickcheck/PairTest.java
index de76422d5..f17e92e83 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/PairTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/PairTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/PropertiesWithExplicitGeneratorsTest.java b/core/src/test/java/com/pholser/junit/quickcheck/PropertiesWithExplicitGeneratorsTest.java
index 936ac4840..7985b7ff9 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/PropertiesWithExplicitGeneratorsTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/PropertiesWithExplicitGeneratorsTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/PropertyExhaustiveSampleSizeTest.java b/core/src/test/java/com/pholser/junit/quickcheck/PropertyExhaustiveSampleSizeTest.java
index bf47f0476..09a6042d4 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/PropertyExhaustiveSampleSizeTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/PropertyExhaustiveSampleSizeTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/PropertyParameterConfigurationIsolationTest.java b/core/src/test/java/com/pholser/junit/quickcheck/PropertyParameterConfigurationIsolationTest.java
index 4ae306f38..bd1f0a3e8 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/PropertyParameterConfigurationIsolationTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/PropertyParameterConfigurationIsolationTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/PropertyParameterDiscardRatioTest.java b/core/src/test/java/com/pholser/junit/quickcheck/PropertyParameterDiscardRatioTest.java
index ad0010a39..80dd1d148 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/PropertyParameterDiscardRatioTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/PropertyParameterDiscardRatioTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/PropertyParameterGenerationByConstructorTest.java b/core/src/test/java/com/pholser/junit/quickcheck/PropertyParameterGenerationByConstructorTest.java
index c25fe6169..ca75d98c1 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/PropertyParameterGenerationByConstructorTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/PropertyParameterGenerationByConstructorTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
@@ -271,7 +271,7 @@ public Tuple3(A first, B second, C third) {
@Test public void autoGenerationOnUnresolvedGenericType() {
assertThat(
testResult(WithAutoGenerationOnUnresolvedGenericType.class),
- hasSingleFailureContaining("No variable substitution established"));
+ isSuccessful());
}
@RunWith(JUnitQuickcheck.class)
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/PropertyParameterGenerationByFieldsTest.java b/core/src/test/java/com/pholser/junit/quickcheck/PropertyParameterGenerationByFieldsTest.java
index 7783a9cfe..ae3db0aaa 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/PropertyParameterGenerationByFieldsTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/PropertyParameterGenerationByFieldsTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
@@ -25,9 +25,6 @@ a copy of this software and associated documentation files (the
package com.pholser.junit.quickcheck;
-import java.lang.annotation.Retention;
-import java.lang.annotation.Target;
-
import com.pholser.junit.quickcheck.generator.Fields;
import com.pholser.junit.quickcheck.internal.ReflectionException;
import com.pholser.junit.quickcheck.internal.Zilch;
@@ -44,6 +41,9 @@ a copy of this software and associated documentation files (the
import org.junit.rules.ExpectedException;
import org.junit.runner.RunWith;
+import java.lang.annotation.Retention;
+import java.lang.annotation.Target;
+
import static java.lang.annotation.ElementType.*;
import static java.lang.annotation.RetentionPolicy.*;
import static org.hamcrest.Matchers.*;
@@ -214,7 +214,7 @@ public static class Tuple3 {
@Test public void autoGenerationWithUnresolvedTypeVariablesInFields() {
assertThat(
testResult(AutoGenerationWithUnresolvedTypeVariablesInFields.class),
- hasSingleFailureContaining("No variable substitution established"));
+ isSuccessful());
}
@RunWith(JUnitQuickcheck.class)
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/PropertyParameterMarkedWithSuperfluousConfigurationTest.java b/core/src/test/java/com/pholser/junit/quickcheck/PropertyParameterMarkedWithSuperfluousConfigurationTest.java
index 65089e113..b17fa52ff 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/PropertyParameterMarkedWithSuperfluousConfigurationTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/PropertyParameterMarkedWithSuperfluousConfigurationTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/PropertyTupleSampleSizeTest.java b/core/src/test/java/com/pholser/junit/quickcheck/PropertyTupleSampleSizeTest.java
index 9e27c74d7..8befb6179 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/PropertyTupleSampleSizeTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/PropertyTupleSampleSizeTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/Repro175.java b/core/src/test/java/com/pholser/junit/quickcheck/ReproIssue175Test.java
similarity index 97%
rename from core/src/test/java/com/pholser/junit/quickcheck/Repro175.java
rename to core/src/test/java/com/pholser/junit/quickcheck/ReproIssue175Test.java
index f4c72fc8d..5817ca59a 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/Repro175.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/ReproIssue175Test.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
@@ -41,7 +41,7 @@ a copy of this software and associated documentation files (the
import static org.junit.experimental.results.PrintableResult.*;
import static org.junit.experimental.results.ResultMatchers.*;
-public class Repro175 {
+public class ReproIssue175Test {
@Test public void givesAllArgsAChanceToShrink() {
assertThat(testResult(GivesAllArgsAChanceToShrink.class), failureCountIs(2));
assertThat(Others.shrinkAttempts, greaterThan(1));
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/ReproIssue240Test.java b/core/src/test/java/com/pholser/junit/quickcheck/ReproIssue240Test.java
new file mode 100644
index 000000000..c3d8f468b
--- /dev/null
+++ b/core/src/test/java/com/pholser/junit/quickcheck/ReproIssue240Test.java
@@ -0,0 +1,54 @@
+/*
+ The MIT License
+
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
+
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+*/
+
+package com.pholser.junit.quickcheck;
+
+import com.pholser.junit.quickcheck.runner.JUnitQuickcheck;
+import com.pholser.junit.quickcheck.test.generator.Box;
+import com.pholser.junit.quickcheck.test.generator.Foo;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+
+import java.util.concurrent.Callable;
+
+import static org.junit.Assert.*;
+import static org.junit.experimental.results.PrintableResult.*;
+import static org.junit.experimental.results.ResultMatchers.*;
+
+public class ReproIssue240Test {
+ @Test public void issue240() {
+ assertThat(testResult(Issue240.class), isSuccessful());
+ }
+
+ @RunWith(JUnitQuickcheck.class)
+ public static class Issue240 {
+ @Property
+ public
+ >>
+ void genericVars(Callable callable) throws Exception {
+ X result = callable.call();
+ }
+ }
+}
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/ResolvingGenericPropertyParameterTypesTest.java b/core/src/test/java/com/pholser/junit/quickcheck/ResolvingGenericPropertyParameterTypesTest.java
index 9c6d974a6..33ca114d0 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/ResolvingGenericPropertyParameterTypesTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/ResolvingGenericPropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/SamplingButAlsoIncludingAGivenSetTest.java b/core/src/test/java/com/pholser/junit/quickcheck/SamplingButAlsoIncludingAGivenSetTest.java
index 7a7c72869..f0a52c614 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/SamplingButAlsoIncludingAGivenSetTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/SamplingButAlsoIncludingAGivenSetTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/SamplingOnlyFromAGivenSetTest.java b/core/src/test/java/com/pholser/junit/quickcheck/SamplingOnlyFromAGivenSetTest.java
index 7eff3de08..0890da248 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/SamplingOnlyFromAGivenSetTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/SamplingOnlyFromAGivenSetTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/ShrinkingTest.java b/core/src/test/java/com/pholser/junit/quickcheck/ShrinkingTest.java
index 412027e4c..608dcbd2f 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/ShrinkingTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/ShrinkingTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/TimesTest.java b/core/src/test/java/com/pholser/junit/quickcheck/TimesTest.java
index a37cc3f86..e5206b2a7 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/TimesTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/TimesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/Types.java b/core/src/test/java/com/pholser/junit/quickcheck/Types.java
index d7567d562..abb27daa1 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/Types.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/Types.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
@@ -35,10 +35,7 @@ private Types() {
public static ParameterTypeContext typeOf(Class> c, String fieldName)
throws NoSuchFieldException {
- return new ParameterTypeContext(
- fieldName,
- c.getDeclaredField(fieldName).getAnnotatedType(),
- c.getName())
+ return ParameterTypeContext.forField(c.getDeclaredField(fieldName))
.allowMixedTypes(true);
}
}
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/UsualJUnitMachineryOnPropertyBasedTest.java b/core/src/test/java/com/pholser/junit/quickcheck/UsualJUnitMachineryOnPropertyBasedTest.java
index 52e2a3528..b1261e74c 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/UsualJUnitMachineryOnPropertyBasedTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/UsualJUnitMachineryOnPropertyBasedTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/UsualJUnitMachineryOnShrinkingPropertyBasedTest.java b/core/src/test/java/com/pholser/junit/quickcheck/UsualJUnitMachineryOnShrinkingPropertyBasedTest.java
index a71b5968d..20f917e04 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/UsualJUnitMachineryOnShrinkingPropertyBasedTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/UsualJUnitMachineryOnShrinkingPropertyBasedTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/UsualJUnitMachineryOnSubclassPropertyTest.java b/core/src/test/java/com/pholser/junit/quickcheck/UsualJUnitMachineryOnSubclassPropertyTest.java
index 230afe810..b029e2308 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/UsualJUnitMachineryOnSubclassPropertyTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/UsualJUnitMachineryOnSubclassPropertyTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/UsualJUnitMachineryOnTraitBasedPropertyTest.java b/core/src/test/java/com/pholser/junit/quickcheck/UsualJUnitMachineryOnTraitBasedPropertyTest.java
index 7e3d63a3e..e82e0be03 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/UsualJUnitMachineryOnTraitBasedPropertyTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/UsualJUnitMachineryOnTraitBasedPropertyTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/generator/ArrayOfBoxOfHuhPropertyParameterTest.java b/core/src/test/java/com/pholser/junit/quickcheck/generator/ArrayOfBoxOfHuhPropertyParameterTest.java
deleted file mode 100644
index 3b2d1e1b3..000000000
--- a/core/src/test/java/com/pholser/junit/quickcheck/generator/ArrayOfBoxOfHuhPropertyParameterTest.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/*
- The MIT License
-
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
-
- Permission is hereby granted, free of charge, to any person obtaining
- a copy of this software and associated documentation files (the
- "Software"), to deal in the Software without restriction, including
- without limitation the rights to use, copy, modify, merge, publish,
- distribute, sublicense, and/or sell copies of the Software, and to
- permit persons to whom the Software is furnished to do so, subject to
- the following conditions:
-
- The above copyright notice and this permission notice shall be
- included in all copies or substantial portions of the Software.
-
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-*/
-
-package com.pholser.junit.quickcheck.generator;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import com.pholser.junit.quickcheck.internal.generator.CorePropertyParameterTest;
-import com.pholser.junit.quickcheck.test.generator.Box;
-
-import static org.mockito.Mockito.*;
-
-public class ArrayOfBoxOfHuhPropertyParameterTest extends CorePropertyParameterTest {
- public static final Box>[] TYPE_BEARER = null;
-
- @Override protected void primeSourceOfRandomness() {
- when(randomForParameterGenerator.nextLong())
- .thenReturn(1L).thenReturn(7L).thenReturn(63L);
- when(randomForGeneratorRepo.nextInt(12))
- .thenReturn(8);
- when(distro.sampleWithMean(1, randomForParameterGenerator)).thenReturn(0);
- when(distro.sampleWithMean(2, randomForParameterGenerator)).thenReturn(1);
- when(distro.sampleWithMean(3, randomForParameterGenerator)).thenReturn(2);
- when(distro.sampleWithMean(4, randomForParameterGenerator)).thenReturn(3);
- }
-
- @Override protected int trials() {
- return 3;
- }
-
- @Override protected List> randomValues() {
- List[]> values = new ArrayList<>();
- values.add(new Box>[0]);
- values.add(new Box>[] { new Box<>(1L) });
- values.add(new Box>[] { new Box<>(7L), new Box<>(63L) });
- return values;
- }
-
- @Override public void verifyInteractionWithRandomness() {
- verify(randomForParameterGenerator, times(3)).nextLong();
- verify(randomForGeneratorRepo).nextInt(12);
- }
-}
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/generator/BoxOfSuperLongPropertyParameterTest.java b/core/src/test/java/com/pholser/junit/quickcheck/generator/BoxOfSuperLongPropertyParameterTest.java
index 7be355a87..ddce17ead 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/generator/BoxOfSuperLongPropertyParameterTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/generator/BoxOfSuperLongPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/generator/GenFrequencyTest.java b/core/src/test/java/com/pholser/junit/quickcheck/generator/GenFrequencyTest.java
index 6622c80dd..12c1b1884 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/generator/GenFrequencyTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/generator/GenFrequencyTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/generator/GenOneOfTest.java b/core/src/test/java/com/pholser/junit/quickcheck/generator/GenOneOfTest.java
index 2bdf838d9..c7357cfc9 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/generator/GenOneOfTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/generator/GenOneOfTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/generator/GenerationStatusOnPropertyParametersTest.java b/core/src/test/java/com/pholser/junit/quickcheck/generator/GenerationStatusOnPropertyParametersTest.java
index 27d6002a4..22c8ceaab 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/generator/GenerationStatusOnPropertyParametersTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/generator/GenerationStatusOnPropertyParametersTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/generator/LambdasTest.java b/core/src/test/java/com/pholser/junit/quickcheck/generator/LambdasTest.java
index 63e48c60b..62278eebd 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/generator/LambdasTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/generator/LambdasTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/generator/PrimitiveIntegerArrayPropertyParameterTest.java b/core/src/test/java/com/pholser/junit/quickcheck/generator/PrimitiveIntegerArrayPropertyParameterTest.java
index 8317618d3..9783d2638 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/generator/PrimitiveIntegerArrayPropertyParameterTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/generator/PrimitiveIntegerArrayPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/generator/PropertyParameterGenerationStatusTest.java b/core/src/test/java/com/pholser/junit/quickcheck/generator/PropertyParameterGenerationStatusTest.java
index 1070f53d4..f6379dada 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/generator/PropertyParameterGenerationStatusTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/generator/PropertyParameterGenerationStatusTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/generator/SizeConstrainedPrimitiveIntegerArrayPropertyParameterTest.java b/core/src/test/java/com/pholser/junit/quickcheck/generator/SizeConstrainedPrimitiveIntegerArrayPropertyParameterTest.java
index 96b4c8bd0..61308fbdb 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/generator/SizeConstrainedPrimitiveIntegerArrayPropertyParameterTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/generator/SizeConstrainedPrimitiveIntegerArrayPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/generator/ThreeDCharArrayPropertyParameterTest.java b/core/src/test/java/com/pholser/junit/quickcheck/generator/ThreeDCharArrayPropertyParameterTest.java
index 5e54bf11c..4ab8e32f3 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/generator/ThreeDCharArrayPropertyParameterTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/generator/ThreeDCharArrayPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/internal/CartesianIteratorTest.java b/core/src/test/java/com/pholser/junit/quickcheck/internal/CartesianIteratorTest.java
index d4439e472..4863a36c3 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/internal/CartesianIteratorTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/internal/CartesianIteratorTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/internal/ComparablesTest.java b/core/src/test/java/com/pholser/junit/quickcheck/internal/ComparablesTest.java
index 1a16da644..c840222c2 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/internal/ComparablesTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/internal/ComparablesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/internal/FakeAnnotatedTypeFactoryUtilityClassTest.java b/core/src/test/java/com/pholser/junit/quickcheck/internal/FakeAnnotatedTypeFactoryUtilityClassTest.java
index 05f353638..c7fe6afd3 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/internal/FakeAnnotatedTypeFactoryUtilityClassTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/internal/FakeAnnotatedTypeFactoryUtilityClassTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/internal/GeometricDistributionTest.java b/core/src/test/java/com/pholser/junit/quickcheck/internal/GeometricDistributionTest.java
index 0ef838bca..a8dced0aa 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/internal/GeometricDistributionTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/internal/GeometricDistributionTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/internal/ItemsTest.java b/core/src/test/java/com/pholser/junit/quickcheck/internal/ItemsTest.java
index b4104058e..7ff7042b7 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/internal/ItemsTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/internal/ItemsTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/internal/ListsTest.java b/core/src/test/java/com/pholser/junit/quickcheck/internal/ListsTest.java
index 7351dda82..4ad02a83c 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/internal/ListsTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/internal/ListsTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/internal/ListsUtilityClassTest.java b/core/src/test/java/com/pholser/junit/quickcheck/internal/ListsUtilityClassTest.java
index 87f26c229..e7ac48fd1 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/internal/ListsUtilityClassTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/internal/ListsUtilityClassTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
@@ -31,4 +31,4 @@ public class ListsUtilityClassTest extends UtilityClassesUninstantiabilityHarnes
public ListsUtilityClassTest() {
super(Lists.class);
}
-}
\ No newline at end of file
+}
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/internal/SequencesTest.java b/core/src/test/java/com/pholser/junit/quickcheck/internal/SequencesTest.java
index ff9c036de..c3c5aa8a5 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/internal/SequencesTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/internal/SequencesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/internal/WeightedTest.java b/core/src/test/java/com/pholser/junit/quickcheck/internal/WeightedTest.java
index 026ca0135..d5d0ccaa7 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/internal/WeightedTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/internal/WeightedTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/internal/constraint/ConstraintEvaluatorTest.java b/core/src/test/java/com/pholser/junit/quickcheck/internal/constraint/ConstraintEvaluatorTest.java
index d2f863483..5db6c0ee2 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/internal/constraint/ConstraintEvaluatorTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/internal/constraint/ConstraintEvaluatorTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/ArrayGeneratorTest.java b/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/ArrayGeneratorTest.java
index 8ca870182..abc6d29f7 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/ArrayGeneratorTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/ArrayGeneratorTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/CompositeGeneratorTest.java b/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/CompositeGeneratorTest.java
index f31bc670e..9fda3bc3a 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/CompositeGeneratorTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/CompositeGeneratorTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/ConstrainingWhatGeneratorsCanAcceptCertainComponentsTest.java b/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/ConstrainingWhatGeneratorsCanAcceptCertainComponentsTest.java
index 42a089936..5d9542374 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/ConstrainingWhatGeneratorsCanAcceptCertainComponentsTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/ConstrainingWhatGeneratorsCanAcceptCertainComponentsTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/CorePropertyParameterTest.java b/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/CorePropertyParameterTest.java
index 31fb10091..5c03e5220 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/CorePropertyParameterTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/CorePropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
@@ -26,7 +26,6 @@ a copy of this software and associated documentation files (the
package com.pholser.junit.quickcheck.internal.generator;
import java.lang.reflect.AnnotatedElement;
-import java.lang.reflect.AnnotatedType;
import java.lang.reflect.Field;
import java.lang.reflect.Parameter;
import java.util.ArrayList;
@@ -82,11 +81,9 @@ public abstract class CorePropertyParameterTest {
if (auxiliarySource != null)
repository.register(auxiliarySource);
- AnnotatedType type = annotatedType();
int trials = trials();
PropertyParameterContext parameter =
- new PropertyParameterContext(
- new ParameterTypeContext("arg", type, type.toString()))
+ new PropertyParameterContext(typeContext())
.annotate(annotatedElement());
parameter.addQuantifier(quantifier);
@@ -130,11 +127,11 @@ protected Iterable> auxiliaryGeneratorSource() {
protected abstract void primeSourceOfRandomness() throws Exception;
- protected final AnnotatedType annotatedType() throws Exception {
+ protected final ParameterTypeContext typeContext() throws Exception {
try {
- return typeBearerField().getAnnotatedType();
+ return ParameterTypeContext.forField(typeBearerField());
} catch (Exception e) {
- return typeBearerParameter().getAnnotatedType();
+ return ParameterTypeContext.forParameter(typeBearerParameter());
}
}
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/EnumGeneratorTest.java b/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/EnumGeneratorTest.java
index 62b89465b..d554df8bd 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/EnumGeneratorTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/EnumGeneratorTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/ExplicitGroupOfPropertyParameterGeneratorsChosenWithDiscreteProbabilityTest.java b/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/ExplicitGroupOfPropertyParameterGeneratorsChosenWithDiscreteProbabilityTest.java
index 7629928d4..d9d2fcbca 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/ExplicitGroupOfPropertyParameterGeneratorsChosenWithDiscreteProbabilityTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/ExplicitGroupOfPropertyParameterGeneratorsChosenWithDiscreteProbabilityTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/ExplicitGroupOfPropertyParameterGeneratorsChosenWithEqualProbabilityTest.java b/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/ExplicitGroupOfPropertyParameterGeneratorsChosenWithEqualProbabilityTest.java
index 007cd8765..7621c6b3c 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/ExplicitGroupOfPropertyParameterGeneratorsChosenWithEqualProbabilityTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/ExplicitGroupOfPropertyParameterGeneratorsChosenWithEqualProbabilityTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/ExplicitPropertyParameterGeneratorsChosenWithEqualProbabilityTest.java b/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/ExplicitPropertyParameterGeneratorsChosenWithEqualProbabilityTest.java
index b62fd5e67..e33acd286 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/ExplicitPropertyParameterGeneratorsChosenWithEqualProbabilityTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/ExplicitPropertyParameterGeneratorsChosenWithEqualProbabilityTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/Generators.java b/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/Generators.java
index b99d87c20..8167194cb 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/Generators.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/Generators.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/MissingGeneratorForGivenTypeTest.java b/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/MissingGeneratorForGivenTypeTest.java
index d5e57eb0e..0acc02f29 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/MissingGeneratorForGivenTypeTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/MissingGeneratorForGivenTypeTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/OneOfSetOfGeneratorsTest.java b/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/OneOfSetOfGeneratorsTest.java
index 08e823b7a..41de40faf 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/OneOfSetOfGeneratorsTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/OneOfSetOfGeneratorsTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/PropertyParameterGenerationContextTest.java b/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/PropertyParameterGenerationContextTest.java
index 49e79a86b..65cb4c832 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/PropertyParameterGenerationContextTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/PropertyParameterGenerationContextTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
@@ -26,7 +26,6 @@ a copy of this software and associated documentation files (the
package com.pholser.junit.quickcheck.internal.generator;
import java.lang.reflect.AnnotatedElement;
-import java.lang.reflect.AnnotatedType;
import java.lang.reflect.Parameter;
import com.pholser.junit.quickcheck.When;
@@ -57,8 +56,8 @@ public class PropertyParameterGenerationContextTest {
@Test public void whenDiscardRatioExceededEvenWithSomeSuccesses() throws Exception {
PropertyParameterContext parameter =
new PropertyParameterContext(
- new ParameterTypeContext("arg", annotatedType(), "declarer"))
- .annotate(annotatedElement());
+ ParameterTypeContext.forParameter(parameter()))
+ .annotate(annotatedElement());
PropertyParameterGenerationContext gen =
new PropertyParameterGenerationContext(
@@ -69,12 +68,13 @@ public class PropertyParameterGenerationContextTest {
new TupleParameterSampler(20));
thrown.expect(DiscardRatioExceededException.class);
- thrown.expectMessage(String.format(
- DiscardRatioExceededException.MESSAGE_TEMPLATE,
- parameter.typeContext().name(),
- parameter.discardRatio(),
- 30,
- 10));
+ thrown.expectMessage(
+ String.format(
+ DiscardRatioExceededException.MESSAGE_TEMPLATE,
+ parameter.typeContext().name(),
+ parameter.discardRatio(),
+ 30,
+ 10));
while (gen.attempts() < 100)
gen.generate();
@@ -87,10 +87,6 @@ private AnnotatedElement annotatedElement() throws Exception {
return parameter();
}
- private AnnotatedType annotatedType() throws Exception {
- return parameter().getAnnotatedType();
- }
-
private Parameter parameter() throws Exception {
return getClass().getMethod("parameterHaver", int.class).getParameters()[0];
}
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/PropertyParameterGenerationContextWithNonShrinkingGeneratorTest.java b/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/PropertyParameterGenerationContextWithNonShrinkingGeneratorTest.java
index 7f0bfb912..2670a32ee 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/PropertyParameterGenerationContextWithNonShrinkingGeneratorTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/PropertyParameterGenerationContextWithNonShrinkingGeneratorTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
@@ -54,8 +54,8 @@ public class PropertyParameterGenerationContextWithNonShrinkingGeneratorTest {
@Test public void givesNoShrunkenValues() throws Exception {
PropertyParameterContext parameter =
new PropertyParameterContext(
- new ParameterTypeContext("arg", annotatedType(), "declarer"))
- .annotate(annotatedElement());
+ ParameterTypeContext.forParameter(parameter())
+ .annotate(annotatedElement()));
PropertyParameterGenerationContext gen =
new PropertyParameterGenerationContext(
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/RegisterGeneratorsByConvention.java b/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/RegisterGeneratorsByConvention.java
index 6aea1342b..cb642d52c 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/RegisterGeneratorsByConvention.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/RegisterGeneratorsByConvention.java
@@ -8,18 +8,22 @@
import com.pholser.junit.quickcheck.internal.generator.conventiontestclasses.NotAGenerator;
import com.pholser.junit.quickcheck.random.SourceOfRandomness;
import org.junit.Before;
+import org.junit.Rule;
import org.junit.Test;
+import org.junit.rules.ExpectedException;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mockito.runners.MockitoJUnitRunner;
+import static org.hamcrest.CoreMatchers.*;
import static org.junit.Assert.*;
+import static org.junit.rules.ExpectedException.*;
@RunWith(MockitoJUnitRunner.class)
public class RegisterGeneratorsByConvention {
+ @Rule public final ExpectedException thrown = none();
private GeneratorRepository repo;
-
@Mock private SourceOfRandomness random;
@Mock private GenerationStatus generationStatus;
@@ -30,18 +34,13 @@ public void setupRepository() {
@Test
public void can_generate_values() {
- Generator> generator = repo.generatorFor(new ParameterTypeContext(Convention.class));
- assertNotNull(generator);
- assertTrue(generator.generate(random, generationStatus) instanceof Convention);
- }
+ Generator> generator =
+ repo.generatorFor(ParameterTypeContext.forClass(Convention.class));
- private void assertThatNoGeneratorCanBeFound(Class> valueClass) {
- try {
- repo.generatorFor(new ParameterTypeContext(valueClass));
- fail("Shouldn't have found a suitable generator for: " + valueClass.getSimpleName());
- } catch (IllegalArgumentException e) {
- assertTrue(e.getMessage().contains("Cannot find generator for " + valueClass.getName()));
- }
+ assertNotNull(generator);
+ assertThat(
+ generator.generate(random, generationStatus),
+ instanceOf(Convention.class));
}
@Test
@@ -58,4 +57,12 @@ public void does_not_find_a_generator_if_the_types_it_generates_values_for_does_
public void does_not_find_a_generator_if_there_is_no_class_with_the_convention_following_name() {
assertThatNoGeneratorCanBeFound(this.getClass());
}
+
+ private void assertThatNoGeneratorCanBeFound(Class> valueClass) {
+ thrown.expect(IllegalArgumentException.class);
+ thrown.expectMessage(
+ "Cannot find generator for " + valueClass.getName());
+
+ repo.generatorFor(ParameterTypeContext.forClass(valueClass));
+ }
}
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/RegisteringGeneratorsForHierarchyOfArrayListTest.java b/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/RegisteringGeneratorsForHierarchyOfArrayListTest.java
index 6473fc55e..c922ed82f 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/RegisteringGeneratorsForHierarchyOfArrayListTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/RegisteringGeneratorsForHierarchyOfArrayListTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/RegisteringGeneratorsForHierarchyOfBigDecimalTest.java b/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/RegisteringGeneratorsForHierarchyOfBigDecimalTest.java
index 92ffcdb2e..a9fd0a9df 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/RegisteringGeneratorsForHierarchyOfBigDecimalTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/RegisteringGeneratorsForHierarchyOfBigDecimalTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/RegisteringGeneratorsForHierarchyOfHashMapTest.java b/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/RegisteringGeneratorsForHierarchyOfHashMapTest.java
index 0a807e770..2306419b4 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/RegisteringGeneratorsForHierarchyOfHashMapTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/RegisteringGeneratorsForHierarchyOfHashMapTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/RegisteringGeneratorsForHierarchyOfInterfaceTest.java b/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/RegisteringGeneratorsForHierarchyOfInterfaceTest.java
index b1a99c787..ad3fb3d55 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/RegisteringGeneratorsForHierarchyOfInterfaceTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/RegisteringGeneratorsForHierarchyOfInterfaceTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/RegisteringGeneratorsWithServiceLoaderTest.java b/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/RegisteringGeneratorsWithServiceLoaderTest.java
index c26c85312..13c97164d 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/RegisteringGeneratorsWithServiceLoaderTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/internal/generator/RegisteringGeneratorsWithServiceLoaderTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/random/GeneratingRandomValuesFromJavaUtilRandomCloneTest.java b/core/src/test/java/com/pholser/junit/quickcheck/random/GeneratingRandomValuesFromJavaUtilRandomCloneTest.java
index 5e532fb91..b49fbf689 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/random/GeneratingRandomValuesFromJavaUtilRandomCloneTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/random/GeneratingRandomValuesFromJavaUtilRandomCloneTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/random/GeneratingRandomValuesTest.java b/core/src/test/java/com/pholser/junit/quickcheck/random/GeneratingRandomValuesTest.java
index 21b882f42..f2ef7a21a 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/random/GeneratingRandomValuesTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/random/GeneratingRandomValuesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/runner/PropertyFalsifiedUtilityClassTest.java b/core/src/test/java/com/pholser/junit/quickcheck/runner/PropertyFalsifiedUtilityClassTest.java
index e0ac35e91..01c87a037 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/runner/PropertyFalsifiedUtilityClassTest.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/runner/PropertyFalsifiedUtilityClassTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/ABigInt.java b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/ABigInt.java
index 7fa32e67f..8885f9d02 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/ABigInt.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/ABigInt.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/ABool.java b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/ABool.java
index 349885774..ce0980906 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/ABool.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/ABool.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/ABox.java b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/ABox.java
index 764c4be4b..734ca4dbc 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/ABox.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/ABox.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
@@ -49,7 +49,7 @@ public ABox() {
}
@Override public BigDecimal magnitude(Object value) {
- return componentGenerators().get(0).magnitude(((Box) value).contents());
+ return componentGenerators().get(0).magnitude(((Box>) value).contents());
}
public void configure(X x) {
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AByte.java b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AByte.java
index 45e504eb3..55cb02b7d 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AByte.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AByte.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/ACallable.java b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/ACallable.java
index 846e6bdeb..f95bcd7a6 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/ACallable.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/ACallable.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AChar.java b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AChar.java
index cf6f3bb8c..efe373454 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AChar.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AChar.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/ADecimal.java b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/ADecimal.java
index 7218ebe24..4b316ab9a 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/ADecimal.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/ADecimal.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/ADouble.java b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/ADouble.java
index a61ade531..c3fae25b2 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/ADouble.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/ADouble.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AFloat.java b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AFloat.java
index 654a57a44..013400b1f 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AFloat.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AFloat.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AFoo.java b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AFoo.java
index c7d790468..f7f51844b 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AFoo.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AFoo.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AFooBadShrinks.java b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AFooBadShrinks.java
index 1c23f3d29..28cbc0c2c 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AFooBadShrinks.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AFooBadShrinks.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AList.java b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AList.java
index ba905ba30..cf825925f 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AList.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AList.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/ALong.java b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/ALong.java
index 56e8dac72..fb9f15b86 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/ALong.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/ALong.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AMap.java b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AMap.java
index 15645a4ed..9719beb5a 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AMap.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AMap.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/APair.java b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/APair.java
index 6643d64b2..cbc2127b1 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/APair.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/APair.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AShort.java b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AShort.java
index 1ebd7fc19..287798ef1 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AShort.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AShort.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AString.java b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AString.java
index 080acfa75..41577b87e 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AString.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AString.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AnInt.java b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AnInt.java
index f83b5a17c..a708f9364 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AnInt.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AnInt.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AnotherBox.java b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AnotherBox.java
index ff6557586..00fd31143 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AnotherBox.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/AnotherBox.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/Between.java b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/Between.java
index 25137256d..1cac1ee5d 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/Between.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/Between.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/Box.java b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/Box.java
index 32c2bd112..e9b080ed0 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/Box.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/Box.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/Foo.java b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/Foo.java
index 3cc5e97cf..b8b729494 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/Foo.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/Foo.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/FooBoxOpener.java b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/FooBoxOpener.java
index fe8449d45..12c2563ac 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/FooBoxOpener.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/FooBoxOpener.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/Pair.java b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/Pair.java
index ef7d7a01e..5b03ddb3d 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/Pair.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/Pair.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/TestGeneratorSource.java b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/TestGeneratorSource.java
index 4893b99ae..869e75e33 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/TestGeneratorSource.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/TestGeneratorSource.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/X.java b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/X.java
index 8ec5cce45..844436378 100644
--- a/core/src/test/java/com/pholser/junit/quickcheck/test/generator/X.java
+++ b/core/src/test/java/com/pholser/junit/quickcheck/test/generator/X.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/pom.xml b/examples/pom.xml
index 518e000ff..92157ca62 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -5,11 +5,11 @@
com.pholser
junit-quickcheck
- 0.9
+ 0.9.1-SNAPSHOT
junit-quickcheck-examples
- 0.9
+ 0.9.1-SNAPSHOT
jar
junit-quickcheck-examples
Property-based testing, JUnit-style: examples
@@ -23,12 +23,12 @@
com.pholser
junit-quickcheck-core
- 0.9
+ 0.9.1-SNAPSHOT
com.pholser
junit-quickcheck-generators
- 0.9
+ 0.9.1-SNAPSHOT
@@ -55,7 +55,7 @@
com.pholser
junit-quickcheck-core
- 0.9
+ 0.9.1-SNAPSHOT
test
test-jar
diff --git a/examples/src/main/java/com/pholser/junit/quickcheck/examples/counter/Counter.java b/examples/src/main/java/com/pholser/junit/quickcheck/examples/counter/Counter.java
index f5e79762c..e8eff5a95 100644
--- a/examples/src/main/java/com/pholser/junit/quickcheck/examples/counter/Counter.java
+++ b/examples/src/main/java/com/pholser/junit/quickcheck/examples/counter/Counter.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/main/java/com/pholser/junit/quickcheck/examples/crypto/SymmetricCrypto.java b/examples/src/main/java/com/pholser/junit/quickcheck/examples/crypto/SymmetricCrypto.java
index ff088d884..333927f9d 100644
--- a/examples/src/main/java/com/pholser/junit/quickcheck/examples/crypto/SymmetricCrypto.java
+++ b/examples/src/main/java/com/pholser/junit/quickcheck/examples/crypto/SymmetricCrypto.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/main/java/com/pholser/junit/quickcheck/examples/dummy/A.java b/examples/src/main/java/com/pholser/junit/quickcheck/examples/dummy/A.java
index cc386a8d5..76932bef8 100644
--- a/examples/src/main/java/com/pholser/junit/quickcheck/examples/dummy/A.java
+++ b/examples/src/main/java/com/pholser/junit/quickcheck/examples/dummy/A.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/main/java/com/pholser/junit/quickcheck/examples/dummy/B.java b/examples/src/main/java/com/pholser/junit/quickcheck/examples/dummy/B.java
index 93698af3c..8febd6ed5 100644
--- a/examples/src/main/java/com/pholser/junit/quickcheck/examples/dummy/B.java
+++ b/examples/src/main/java/com/pholser/junit/quickcheck/examples/dummy/B.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/main/java/com/pholser/junit/quickcheck/examples/func/Either.java b/examples/src/main/java/com/pholser/junit/quickcheck/examples/func/Either.java
index 92e750c69..4f99b3c4f 100644
--- a/examples/src/main/java/com/pholser/junit/quickcheck/examples/func/Either.java
+++ b/examples/src/main/java/com/pholser/junit/quickcheck/examples/func/Either.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/main/java/com/pholser/junit/quickcheck/examples/geom/Point.java b/examples/src/main/java/com/pholser/junit/quickcheck/examples/geom/Point.java
index 03fe21763..8c99e08ee 100644
--- a/examples/src/main/java/com/pholser/junit/quickcheck/examples/geom/Point.java
+++ b/examples/src/main/java/com/pholser/junit/quickcheck/examples/geom/Point.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/main/java/com/pholser/junit/quickcheck/examples/geom/Polygon.java b/examples/src/main/java/com/pholser/junit/quickcheck/examples/geom/Polygon.java
index 143d6c956..72dfb5e35 100644
--- a/examples/src/main/java/com/pholser/junit/quickcheck/examples/geom/Polygon.java
+++ b/examples/src/main/java/com/pholser/junit/quickcheck/examples/geom/Polygon.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/main/java/com/pholser/junit/quickcheck/examples/geom/Segment.java b/examples/src/main/java/com/pholser/junit/quickcheck/examples/geom/Segment.java
index 8e045f3cd..70cb73215 100644
--- a/examples/src/main/java/com/pholser/junit/quickcheck/examples/geom/Segment.java
+++ b/examples/src/main/java/com/pholser/junit/quickcheck/examples/geom/Segment.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/main/java/com/pholser/junit/quickcheck/examples/money/DollarsAndCents.java b/examples/src/main/java/com/pholser/junit/quickcheck/examples/money/DollarsAndCents.java
index bc9835314..6d36ba18f 100644
--- a/examples/src/main/java/com/pholser/junit/quickcheck/examples/money/DollarsAndCents.java
+++ b/examples/src/main/java/com/pholser/junit/quickcheck/examples/money/DollarsAndCents.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/main/java/com/pholser/junit/quickcheck/examples/number/NonNegative.java b/examples/src/main/java/com/pholser/junit/quickcheck/examples/number/NonNegative.java
index af0667798..bafa63ad2 100644
--- a/examples/src/main/java/com/pholser/junit/quickcheck/examples/number/NonNegative.java
+++ b/examples/src/main/java/com/pholser/junit/quickcheck/examples/number/NonNegative.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/main/java/com/pholser/junit/quickcheck/examples/tree/Empty.java b/examples/src/main/java/com/pholser/junit/quickcheck/examples/tree/Empty.java
index 84cc7cedb..c82486e71 100644
--- a/examples/src/main/java/com/pholser/junit/quickcheck/examples/tree/Empty.java
+++ b/examples/src/main/java/com/pholser/junit/quickcheck/examples/tree/Empty.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/main/java/com/pholser/junit/quickcheck/examples/tree/Leaf.java b/examples/src/main/java/com/pholser/junit/quickcheck/examples/tree/Leaf.java
index d99087112..908efd53c 100644
--- a/examples/src/main/java/com/pholser/junit/quickcheck/examples/tree/Leaf.java
+++ b/examples/src/main/java/com/pholser/junit/quickcheck/examples/tree/Leaf.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/main/java/com/pholser/junit/quickcheck/examples/tree/Node.java b/examples/src/main/java/com/pholser/junit/quickcheck/examples/tree/Node.java
index ce1db337b..4fcfdfe6d 100644
--- a/examples/src/main/java/com/pholser/junit/quickcheck/examples/tree/Node.java
+++ b/examples/src/main/java/com/pholser/junit/quickcheck/examples/tree/Node.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/main/java/com/pholser/junit/quickcheck/examples/tree/Tree.java b/examples/src/main/java/com/pholser/junit/quickcheck/examples/tree/Tree.java
index 918d9a094..2f6e598b5 100644
--- a/examples/src/main/java/com/pholser/junit/quickcheck/examples/tree/Tree.java
+++ b/examples/src/main/java/com/pholser/junit/quickcheck/examples/tree/Tree.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
@@ -35,4 +35,4 @@ public interface Tree extends Visited {
String ALL_MY_CHARS = LOWERCASE_CHARS + UPPERCASE_CHARS + NUMBERS;
int LABEL_SIZE = 2;
-}
\ No newline at end of file
+}
diff --git a/examples/src/main/java/com/pholser/junit/quickcheck/examples/tree/TreeVisitor.java b/examples/src/main/java/com/pholser/junit/quickcheck/examples/tree/TreeVisitor.java
index 9ed0285ff..05f9fc2a1 100644
--- a/examples/src/main/java/com/pholser/junit/quickcheck/examples/tree/TreeVisitor.java
+++ b/examples/src/main/java/com/pholser/junit/quickcheck/examples/tree/TreeVisitor.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/main/java/com/pholser/junit/quickcheck/examples/tree/Visited.java b/examples/src/main/java/com/pholser/junit/quickcheck/examples/tree/Visited.java
index 44dea570b..3ac7187c6 100644
--- a/examples/src/main/java/com/pholser/junit/quickcheck/examples/tree/Visited.java
+++ b/examples/src/main/java/com/pholser/junit/quickcheck/examples/tree/Visited.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/main/java/com/pholser/junit/quickcheck/examples/tree/visitor/TreeDeepestLeafVisitor.java b/examples/src/main/java/com/pholser/junit/quickcheck/examples/tree/visitor/TreeDeepestLeafVisitor.java
index e7834b4de..64ce47e13 100644
--- a/examples/src/main/java/com/pholser/junit/quickcheck/examples/tree/visitor/TreeDeepestLeafVisitor.java
+++ b/examples/src/main/java/com/pholser/junit/quickcheck/examples/tree/visitor/TreeDeepestLeafVisitor.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/main/java/com/pholser/junit/quickcheck/examples/tree/visitor/TreeDepthVisitor.java b/examples/src/main/java/com/pholser/junit/quickcheck/examples/tree/visitor/TreeDepthVisitor.java
index 37745fbb9..870f21712 100644
--- a/examples/src/main/java/com/pholser/junit/quickcheck/examples/tree/visitor/TreeDepthVisitor.java
+++ b/examples/src/main/java/com/pholser/junit/quickcheck/examples/tree/visitor/TreeDepthVisitor.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/main/java/com/pholser/junit/quickcheck/examples/tree/visitor/TreeStructureVisitor.java b/examples/src/main/java/com/pholser/junit/quickcheck/examples/tree/visitor/TreeStructureVisitor.java
index 61aa00678..49cc5a0ec 100644
--- a/examples/src/main/java/com/pholser/junit/quickcheck/examples/tree/visitor/TreeStructureVisitor.java
+++ b/examples/src/main/java/com/pholser/junit/quickcheck/examples/tree/visitor/TreeStructureVisitor.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/test/java/com/pholser/junit/quickcheck/examples/counter/CounterPropertiesTest.java b/examples/src/test/java/com/pholser/junit/quickcheck/examples/counter/CounterPropertiesTest.java
index 2104193f4..5ad2553a6 100644
--- a/examples/src/test/java/com/pholser/junit/quickcheck/examples/counter/CounterPropertiesTest.java
+++ b/examples/src/test/java/com/pholser/junit/quickcheck/examples/counter/CounterPropertiesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/test/java/com/pholser/junit/quickcheck/examples/crypto/AES128Keys.java b/examples/src/test/java/com/pholser/junit/quickcheck/examples/crypto/AES128Keys.java
index bb9106e9c..d2b1d9eb2 100644
--- a/examples/src/test/java/com/pholser/junit/quickcheck/examples/crypto/AES128Keys.java
+++ b/examples/src/test/java/com/pholser/junit/quickcheck/examples/crypto/AES128Keys.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/test/java/com/pholser/junit/quickcheck/examples/crypto/SymmetricKeyCryptoPropertiesTest.java b/examples/src/test/java/com/pholser/junit/quickcheck/examples/crypto/SymmetricKeyCryptoPropertiesTest.java
index 18a699b3f..21d16ec60 100644
--- a/examples/src/test/java/com/pholser/junit/quickcheck/examples/crypto/SymmetricKeyCryptoPropertiesTest.java
+++ b/examples/src/test/java/com/pholser/junit/quickcheck/examples/crypto/SymmetricKeyCryptoPropertiesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/test/java/com/pholser/junit/quickcheck/examples/dummy/AGenerator.java b/examples/src/test/java/com/pholser/junit/quickcheck/examples/dummy/AGenerator.java
index 024bc0e73..f8db8855b 100644
--- a/examples/src/test/java/com/pholser/junit/quickcheck/examples/dummy/AGenerator.java
+++ b/examples/src/test/java/com/pholser/junit/quickcheck/examples/dummy/AGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/test/java/com/pholser/junit/quickcheck/examples/dummy/BGenerator.java b/examples/src/test/java/com/pholser/junit/quickcheck/examples/dummy/BGenerator.java
index 55d73c512..8c1c67fb6 100644
--- a/examples/src/test/java/com/pholser/junit/quickcheck/examples/dummy/BGenerator.java
+++ b/examples/src/test/java/com/pholser/junit/quickcheck/examples/dummy/BGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/test/java/com/pholser/junit/quickcheck/examples/func/EitherGenerator.java b/examples/src/test/java/com/pholser/junit/quickcheck/examples/func/EitherGenerator.java
index d3cd9ac13..55b396b2b 100644
--- a/examples/src/test/java/com/pholser/junit/quickcheck/examples/func/EitherGenerator.java
+++ b/examples/src/test/java/com/pholser/junit/quickcheck/examples/func/EitherGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/test/java/com/pholser/junit/quickcheck/examples/geom/Dimensions.java b/examples/src/test/java/com/pholser/junit/quickcheck/examples/geom/Dimensions.java
index 60cfb5aec..55706f16f 100644
--- a/examples/src/test/java/com/pholser/junit/quickcheck/examples/geom/Dimensions.java
+++ b/examples/src/test/java/com/pholser/junit/quickcheck/examples/geom/Dimensions.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/test/java/com/pholser/junit/quickcheck/examples/geom/PointGenerator.java b/examples/src/test/java/com/pholser/junit/quickcheck/examples/geom/PointGenerator.java
index 94a90ab28..2cf83ee5f 100644
--- a/examples/src/test/java/com/pholser/junit/quickcheck/examples/geom/PointGenerator.java
+++ b/examples/src/test/java/com/pholser/junit/quickcheck/examples/geom/PointGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/test/java/com/pholser/junit/quickcheck/examples/geom/PolygonGenerator.java b/examples/src/test/java/com/pholser/junit/quickcheck/examples/geom/PolygonGenerator.java
index 1fa9d67b5..d945ceb94 100644
--- a/examples/src/test/java/com/pholser/junit/quickcheck/examples/geom/PolygonGenerator.java
+++ b/examples/src/test/java/com/pholser/junit/quickcheck/examples/geom/PolygonGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/test/java/com/pholser/junit/quickcheck/examples/geom/PolygonPropertiesTest.java b/examples/src/test/java/com/pholser/junit/quickcheck/examples/geom/PolygonPropertiesTest.java
index 4a13bdf57..53d5c6b28 100644
--- a/examples/src/test/java/com/pholser/junit/quickcheck/examples/geom/PolygonPropertiesTest.java
+++ b/examples/src/test/java/com/pholser/junit/quickcheck/examples/geom/PolygonPropertiesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/test/java/com/pholser/junit/quickcheck/examples/geom/SegmentGenerator.java b/examples/src/test/java/com/pholser/junit/quickcheck/examples/geom/SegmentGenerator.java
index 4090698e8..059b2aa38 100644
--- a/examples/src/test/java/com/pholser/junit/quickcheck/examples/geom/SegmentGenerator.java
+++ b/examples/src/test/java/com/pholser/junit/quickcheck/examples/geom/SegmentGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/test/java/com/pholser/junit/quickcheck/examples/geom/SegmentPropertiesTest.java b/examples/src/test/java/com/pholser/junit/quickcheck/examples/geom/SegmentPropertiesTest.java
index 91c9d6142..535458a15 100644
--- a/examples/src/test/java/com/pholser/junit/quickcheck/examples/geom/SegmentPropertiesTest.java
+++ b/examples/src/test/java/com/pholser/junit/quickcheck/examples/geom/SegmentPropertiesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/test/java/com/pholser/junit/quickcheck/examples/money/DollarsAndCentsPropertiesTest.java b/examples/src/test/java/com/pholser/junit/quickcheck/examples/money/DollarsAndCentsPropertiesTest.java
index 0665f1040..cb361cccd 100644
--- a/examples/src/test/java/com/pholser/junit/quickcheck/examples/money/DollarsAndCentsPropertiesTest.java
+++ b/examples/src/test/java/com/pholser/junit/quickcheck/examples/money/DollarsAndCentsPropertiesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/test/java/com/pholser/junit/quickcheck/examples/nullable/NullableParameterTest.java b/examples/src/test/java/com/pholser/junit/quickcheck/examples/nullable/NullableParameterTest.java
index 8058a2259..1a682cd77 100644
--- a/examples/src/test/java/com/pholser/junit/quickcheck/examples/nullable/NullableParameterTest.java
+++ b/examples/src/test/java/com/pholser/junit/quickcheck/examples/nullable/NullableParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/test/java/com/pholser/junit/quickcheck/examples/number/IntegralGenerator.java b/examples/src/test/java/com/pholser/junit/quickcheck/examples/number/IntegralGenerator.java
index e4af0a85d..b4edf24f9 100644
--- a/examples/src/test/java/com/pholser/junit/quickcheck/examples/number/IntegralGenerator.java
+++ b/examples/src/test/java/com/pholser/junit/quickcheck/examples/number/IntegralGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/test/java/com/pholser/junit/quickcheck/examples/number/NumbersPropertiesTest.java b/examples/src/test/java/com/pholser/junit/quickcheck/examples/number/NumbersPropertiesTest.java
index 26f99341a..16c5cd8aa 100644
--- a/examples/src/test/java/com/pholser/junit/quickcheck/examples/number/NumbersPropertiesTest.java
+++ b/examples/src/test/java/com/pholser/junit/quickcheck/examples/number/NumbersPropertiesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/test/java/com/pholser/junit/quickcheck/examples/number/PrimeFactors.java b/examples/src/test/java/com/pholser/junit/quickcheck/examples/number/PrimeFactors.java
index 0aa9e5110..d914b4bd5 100644
--- a/examples/src/test/java/com/pholser/junit/quickcheck/examples/number/PrimeFactors.java
+++ b/examples/src/test/java/com/pholser/junit/quickcheck/examples/number/PrimeFactors.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/test/java/com/pholser/junit/quickcheck/examples/number/PrimeFactorsPropertiesTest.java b/examples/src/test/java/com/pholser/junit/quickcheck/examples/number/PrimeFactorsPropertiesTest.java
index 54a203093..760beeb00 100644
--- a/examples/src/test/java/com/pholser/junit/quickcheck/examples/number/PrimeFactorsPropertiesTest.java
+++ b/examples/src/test/java/com/pholser/junit/quickcheck/examples/number/PrimeFactorsPropertiesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/test/java/com/pholser/junit/quickcheck/examples/text/SSNTest.java b/examples/src/test/java/com/pholser/junit/quickcheck/examples/text/SSNTest.java
index 6beee945b..7036256d8 100644
--- a/examples/src/test/java/com/pholser/junit/quickcheck/examples/text/SSNTest.java
+++ b/examples/src/test/java/com/pholser/junit/quickcheck/examples/text/SSNTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/test/java/com/pholser/junit/quickcheck/examples/text/StringPropertiesTest.java b/examples/src/test/java/com/pholser/junit/quickcheck/examples/text/StringPropertiesTest.java
index 58c984d7f..acc850e48 100644
--- a/examples/src/test/java/com/pholser/junit/quickcheck/examples/text/StringPropertiesTest.java
+++ b/examples/src/test/java/com/pholser/junit/quickcheck/examples/text/StringPropertiesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/test/java/com/pholser/junit/quickcheck/examples/text/Structured.java b/examples/src/test/java/com/pholser/junit/quickcheck/examples/text/Structured.java
index cf3119df5..44957d600 100644
--- a/examples/src/test/java/com/pholser/junit/quickcheck/examples/text/Structured.java
+++ b/examples/src/test/java/com/pholser/junit/quickcheck/examples/text/Structured.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/test/java/com/pholser/junit/quickcheck/examples/tree/Depth.java b/examples/src/test/java/com/pholser/junit/quickcheck/examples/tree/Depth.java
index 2d812d36a..6b4b9a1dd 100644
--- a/examples/src/test/java/com/pholser/junit/quickcheck/examples/tree/Depth.java
+++ b/examples/src/test/java/com/pholser/junit/quickcheck/examples/tree/Depth.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/test/java/com/pholser/junit/quickcheck/examples/tree/EmptyGenerator.java b/examples/src/test/java/com/pholser/junit/quickcheck/examples/tree/EmptyGenerator.java
index bb152e929..e7fbbb8ec 100644
--- a/examples/src/test/java/com/pholser/junit/quickcheck/examples/tree/EmptyGenerator.java
+++ b/examples/src/test/java/com/pholser/junit/quickcheck/examples/tree/EmptyGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/test/java/com/pholser/junit/quickcheck/examples/tree/LeafGenerator.java b/examples/src/test/java/com/pholser/junit/quickcheck/examples/tree/LeafGenerator.java
index 256deb4d4..d38957ca0 100644
--- a/examples/src/test/java/com/pholser/junit/quickcheck/examples/tree/LeafGenerator.java
+++ b/examples/src/test/java/com/pholser/junit/quickcheck/examples/tree/LeafGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/test/java/com/pholser/junit/quickcheck/examples/tree/NodeGenerator.java b/examples/src/test/java/com/pholser/junit/quickcheck/examples/tree/NodeGenerator.java
index 2edad23e3..f66d60f83 100644
--- a/examples/src/test/java/com/pholser/junit/quickcheck/examples/tree/NodeGenerator.java
+++ b/examples/src/test/java/com/pholser/junit/quickcheck/examples/tree/NodeGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/test/java/com/pholser/junit/quickcheck/examples/tree/TreeMaker.java b/examples/src/test/java/com/pholser/junit/quickcheck/examples/tree/TreeMaker.java
index 36200f29d..5d93a7fff 100644
--- a/examples/src/test/java/com/pholser/junit/quickcheck/examples/tree/TreeMaker.java
+++ b/examples/src/test/java/com/pholser/junit/quickcheck/examples/tree/TreeMaker.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/examples/src/test/java/com/pholser/junit/quickcheck/examples/tree/TreePropertyTest.java b/examples/src/test/java/com/pholser/junit/quickcheck/examples/tree/TreePropertyTest.java
index 2951cb5d7..fe347163a 100644
--- a/examples/src/test/java/com/pholser/junit/quickcheck/examples/tree/TreePropertyTest.java
+++ b/examples/src/test/java/com/pholser/junit/quickcheck/examples/tree/TreePropertyTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/pom.xml b/generators/pom.xml
index a51a831c6..f6562399f 100644
--- a/generators/pom.xml
+++ b/generators/pom.xml
@@ -5,11 +5,11 @@
com.pholser
junit-quickcheck
- 0.9
+ 0.9.1-SNAPSHOT
junit-quickcheck-generators
- 0.9
+ 0.9.1-SNAPSHOT
jar
junit-quickcheck-generators
Property-based testing, JUnit-style: basic generators
@@ -23,7 +23,7 @@
com.pholser
junit-quickcheck-core
- 0.9
+ 0.9.1-SNAPSHOT
@@ -59,7 +59,7 @@
com.pholser
junit-quickcheck-core
- 0.9
+ 0.9.1-SNAPSHOT
test
test-jar
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/DecimalGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/DecimalGenerator.java
index 0e9df3f2a..fccdee3f1 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/DecimalGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/DecimalGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/InRange.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/InRange.java
index 640a58c2f..eeda071d8 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/InRange.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/InRange.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/IntegralGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/IntegralGenerator.java
index 1872550cc..2cfcb6d59 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/IntegralGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/IntegralGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/Precision.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/Precision.java
index 75d62a553..d0984413e 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/Precision.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/Precision.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/VoidGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/VoidGenerator.java
index 5dfeaefe8..8ae7dd6da 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/VoidGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/VoidGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/AbstractStringGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/AbstractStringGenerator.java
index 5ed416835..9e6c8f76d 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/AbstractStringGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/AbstractStringGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/BooleanGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/BooleanGenerator.java
index c3f775104..4a0958256 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/BooleanGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/BooleanGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/ByteGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/ByteGenerator.java
index b9f15858b..4c0ccd957 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/ByteGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/ByteGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/CharacterGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/CharacterGenerator.java
index 68df49723..075c46df4 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/CharacterGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/CharacterGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/CodePointShrink.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/CodePointShrink.java
index 6be11f36f..5f0b66cd2 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/CodePointShrink.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/CodePointShrink.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/DoubleGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/DoubleGenerator.java
index 4824c1890..9d8ae40b0 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/DoubleGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/DoubleGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/Encoded.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/Encoded.java
index b70475f62..967eeb1da 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/Encoded.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/Encoded.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/FloatGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/FloatGenerator.java
index cd04e08ab..b6410670b 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/FloatGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/FloatGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/IntegerGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/IntegerGenerator.java
index 8d32195f7..69aa958b9 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/IntegerGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/IntegerGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/LongGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/LongGenerator.java
index c33f7ebaa..4b65ea9e8 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/LongGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/LongGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/ShortGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/ShortGenerator.java
index 992c34f45..c7674e468 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/ShortGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/ShortGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/StringGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/StringGenerator.java
index 0484504f0..220726753 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/StringGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/StringGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/strings/CodePoints.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/strings/CodePoints.java
index afb3fcc9e..38b9513db 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/strings/CodePoints.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/lang/strings/CodePoints.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/math/BigDecimalGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/math/BigDecimalGenerator.java
index becaf693c..d1abbfa76 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/math/BigDecimalGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/math/BigDecimalGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/math/BigIntegerGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/math/BigIntegerGenerator.java
index 6ec2a8962..19f4563f7 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/math/BigIntegerGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/math/BigIntegerGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/nio/charset/CharsetGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/nio/charset/CharsetGenerator.java
index 05a7ce86a..f9b3a2c17 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/nio/charset/CharsetGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/nio/charset/CharsetGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/ClockGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/ClockGenerator.java
index 0138e8a50..68ad30ed9 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/ClockGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/ClockGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/DurationGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/DurationGenerator.java
index 199098e9e..18ad92f37 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/DurationGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/DurationGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/InstantGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/InstantGenerator.java
index bcfce30be..3d5ce43ac 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/InstantGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/InstantGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/LocalDateGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/LocalDateGenerator.java
index d2100aaf8..113213559 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/LocalDateGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/LocalDateGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/LocalDateTimeGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/LocalDateTimeGenerator.java
index 01766f2c4..d0a23e4e8 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/LocalDateTimeGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/LocalDateTimeGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/LocalTimeGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/LocalTimeGenerator.java
index 7a204778d..bc8c75892 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/LocalTimeGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/LocalTimeGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/MonthDayGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/MonthDayGenerator.java
index 3388ad5ee..49a717848 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/MonthDayGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/MonthDayGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/OffsetDateTimeGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/OffsetDateTimeGenerator.java
index a8f17b505..0078e7b22 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/OffsetDateTimeGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/OffsetDateTimeGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/OffsetTimeGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/OffsetTimeGenerator.java
index 0198e9169..841bb1dc0 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/OffsetTimeGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/OffsetTimeGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/PeriodGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/PeriodGenerator.java
index 7fc047ca4..5e701e274 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/PeriodGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/PeriodGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/YearGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/YearGenerator.java
index d3cc5c638..a8900544e 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/YearGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/YearGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/YearMonthGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/YearMonthGenerator.java
index 0c91c2d05..8510f17fa 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/YearMonthGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/YearMonthGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/ZoneIdGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/ZoneIdGenerator.java
index 9aa68749b..03ae2548e 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/ZoneIdGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/ZoneIdGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/ZoneOffsetGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/ZoneOffsetGenerator.java
index 902a4f5f6..17874c5fd 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/ZoneOffsetGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/ZoneOffsetGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/ZonedDateTimeGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/ZonedDateTimeGenerator.java
index 57c123c3a..271742da6 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/ZonedDateTimeGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/time/ZonedDateTimeGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/ArrayListGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/ArrayListGenerator.java
index 17f11a7d4..9208535bf 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/ArrayListGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/ArrayListGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/BitSetGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/BitSetGenerator.java
index 5ee29e4d4..70f30e184 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/BitSetGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/BitSetGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/CollectionGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/CollectionGenerator.java
index 37e35bb17..966423a99 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/CollectionGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/CollectionGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/DateGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/DateGenerator.java
index 5811c01a9..3e696e587 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/DateGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/DateGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
@@ -26,7 +26,7 @@ a copy of this software and associated documentation files (the
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/HashMapGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/HashMapGenerator.java
index b93746073..b816eb593 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/HashMapGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/HashMapGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/HashSetGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/HashSetGenerator.java
index 9f0511e5b..c1f016b78 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/HashSetGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/HashSetGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/HashtableGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/HashtableGenerator.java
index 8f9d79856..30063b534 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/HashtableGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/HashtableGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/IdentityHashMapGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/IdentityHashMapGenerator.java
index 6afd907f8..834b66ca1 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/IdentityHashMapGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/IdentityHashMapGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/LinkedHashMapGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/LinkedHashMapGenerator.java
index 5d531dff0..da7d70227 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/LinkedHashMapGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/LinkedHashMapGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/LinkedHashSetGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/LinkedHashSetGenerator.java
index ed394ffd2..01e268213 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/LinkedHashSetGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/LinkedHashSetGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/LinkedListGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/LinkedListGenerator.java
index 7177b2bd1..5665a0e65 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/LinkedListGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/LinkedListGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/ListGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/ListGenerator.java
index 46e182dce..4a277788d 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/ListGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/ListGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/LocaleGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/LocaleGenerator.java
index 83d405f6a..f562be582 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/LocaleGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/LocaleGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/MapGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/MapGenerator.java
index d575a5223..6bb0feea8 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/MapGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/MapGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/OptionalDoubleGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/OptionalDoubleGenerator.java
index d2e05e702..829f09799 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/OptionalDoubleGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/OptionalDoubleGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/OptionalGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/OptionalGenerator.java
index a832afba9..b2a48d9ca 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/OptionalGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/OptionalGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/OptionalIntGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/OptionalIntGenerator.java
index d2b3cb709..b55a9478b 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/OptionalIntGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/OptionalIntGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/OptionalLongGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/OptionalLongGenerator.java
index 978a8899b..71ffa8b67 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/OptionalLongGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/OptionalLongGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/PropertiesGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/PropertiesGenerator.java
index 5894b0a02..7ac304dc3 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/PropertiesGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/PropertiesGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/RFC4122.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/RFC4122.java
index 5c8917f78..15a7dbc5a 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/RFC4122.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/RFC4122.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/SetGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/SetGenerator.java
index ac3c60c76..942214c6b 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/SetGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/SetGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/StackGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/StackGenerator.java
index bf7c4743a..702a89b6b 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/StackGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/StackGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/TimeZoneGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/TimeZoneGenerator.java
index 6082e4ac7..d82775e20 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/TimeZoneGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/TimeZoneGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/VectorGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/VectorGenerator.java
index a6ded2d30..c9c474624 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/VectorGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/VectorGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/concurrent/CallableGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/concurrent/CallableGenerator.java
index 05371696d..91d1bb57f 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/concurrent/CallableGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/concurrent/CallableGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/BiFunctionGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/BiFunctionGenerator.java
index f5482cdf0..386574c83 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/BiFunctionGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/BiFunctionGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/BiPredicateGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/BiPredicateGenerator.java
index cd43972e9..569e87bd7 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/BiPredicateGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/BiPredicateGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/BinaryOperatorGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/BinaryOperatorGenerator.java
index ea73f66eb..cab0b1fd4 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/BinaryOperatorGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/BinaryOperatorGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/DoubleFunctionGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/DoubleFunctionGenerator.java
index 2b4f1f753..086604185 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/DoubleFunctionGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/DoubleFunctionGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/FunctionGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/FunctionGenerator.java
index 6055f6d2c..f26a39ecf 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/FunctionGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/FunctionGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/IntFunctionGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/IntFunctionGenerator.java
index b58d497fd..4d67acb4b 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/IntFunctionGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/IntFunctionGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/LongFunctionGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/LongFunctionGenerator.java
index d4b159181..c0a036544 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/LongFunctionGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/LongFunctionGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/PredicateGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/PredicateGenerator.java
index 7232242c4..789ac6ed9 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/PredicateGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/PredicateGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/SupplierGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/SupplierGenerator.java
index 0362c21d7..e64c94a4c 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/SupplierGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/SupplierGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/ToDoubleBiFunctionGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/ToDoubleBiFunctionGenerator.java
index 29d84005c..9fa84b551 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/ToDoubleBiFunctionGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/ToDoubleBiFunctionGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/ToDoubleFunctionGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/ToDoubleFunctionGenerator.java
index d4b28c6b0..a7a48c2c8 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/ToDoubleFunctionGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/ToDoubleFunctionGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/ToIntBiFunctionGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/ToIntBiFunctionGenerator.java
index 76a3d3251..628271bd2 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/ToIntBiFunctionGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/ToIntBiFunctionGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/ToIntFunctionGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/ToIntFunctionGenerator.java
index d0b06023b..73ee066db 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/ToIntFunctionGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/ToIntFunctionGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/ToLongBiFunctionGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/ToLongBiFunctionGenerator.java
index 17c8b9862..75fce2332 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/ToLongBiFunctionGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/ToLongBiFunctionGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/ToLongFunctionGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/ToLongFunctionGenerator.java
index 504d148c0..c3a81cba8 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/ToLongFunctionGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/ToLongFunctionGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/UnaryOperatorGenerator.java b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/UnaryOperatorGenerator.java
index 40a1948ff..87aae0872 100644
--- a/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/UnaryOperatorGenerator.java
+++ b/generators/src/main/java/com/pholser/junit/quickcheck/generator/java/util/function/UnaryOperatorGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/BigNumberPropertyParameterTypesTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/BigNumberPropertyParameterTypesTest.java
index 53095d3de..e81d58ae9 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/BigNumberPropertyParameterTypesTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/BigNumberPropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/BitSetPropertyParameterTypesTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/BitSetPropertyParameterTypesTest.java
index e2fba8f0d..42b5728f5 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/BitSetPropertyParameterTypesTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/BitSetPropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/CallablePropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/CallablePropertyParameterTest.java
index 92b5fdf6e..42962fd06 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/CallablePropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/CallablePropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/ClockPropertyParameterTypesTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/ClockPropertyParameterTypesTest.java
index bea304173..22012454f 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/ClockPropertyParameterTypesTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/ClockPropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/ComparableWithConsistentEqualsContract.java b/generators/src/test/java/com/pholser/junit/quickcheck/ComparableWithConsistentEqualsContract.java
index f953d20eb..64ec120b6 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/ComparableWithConsistentEqualsContract.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/ComparableWithConsistentEqualsContract.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
@@ -38,4 +38,4 @@ public interface ComparableWithConsistentEqualsContract>
}
T thingComparableTo(T thing);
-}
\ No newline at end of file
+}
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/ComparatorContract.java b/generators/src/test/java/com/pholser/junit/quickcheck/ComparatorContract.java
index 76449fc02..1bb2f7c57 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/ComparatorContract.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/ComparatorContract.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/ContractTestWithArrayTypeParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/ContractTestWithArrayTypeParameterTest.java
index 903841b45..cb8fba4ce 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/ContractTestWithArrayTypeParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/ContractTestWithArrayTypeParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/ContractTestWithTypeVariableForPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/ContractTestWithTypeVariableForPropertyParameterTest.java
index 62cfd38c8..3342227b5 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/ContractTestWithTypeVariableForPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/ContractTestWithTypeVariableForPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/DatePropertyParameterTypesTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/DatePropertyParameterTypesTest.java
index 3e0d40867..6b3fa0526 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/DatePropertyParameterTypesTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/DatePropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/DayOfWeekPropertyParameterTypesTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/DayOfWeekPropertyParameterTypesTest.java
index 4c1bb3317..14058fb65 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/DayOfWeekPropertyParameterTypesTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/DayOfWeekPropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/DistinctArrayPropertyParameterTypesTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/DistinctArrayPropertyParameterTypesTest.java
index fcd25c527..2b4e29764 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/DistinctArrayPropertyParameterTypesTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/DistinctArrayPropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/DistinctListPropertyParameterTypesTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/DistinctListPropertyParameterTypesTest.java
index 2d1ced4a8..0048a7d0c 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/DistinctListPropertyParameterTypesTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/DistinctListPropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/DistinctMapPropertyParameterTypesTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/DistinctMapPropertyParameterTypesTest.java
index d41bd6866..0ae41a980 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/DistinctMapPropertyParameterTypesTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/DistinctMapPropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/DurationPropertyParameterTypesTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/DurationPropertyParameterTypesTest.java
index 8049e0ee8..4ac70573b 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/DurationPropertyParameterTypesTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/DurationPropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/Generating.java b/generators/src/test/java/com/pholser/junit/quickcheck/Generating.java
index 905da1e3a..d1795890e 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/Generating.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/Generating.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/InstantPropertyParameterTypesTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/InstantPropertyParameterTypesTest.java
index 445935bfd..d9b609414 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/InstantPropertyParameterTypesTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/InstantPropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/IntegerComparableTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/IntegerComparableTest.java
index 7c0da0d95..96603a97b 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/IntegerComparableTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/IntegerComparableTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/IntegerComparatorTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/IntegerComparatorTest.java
index a0db7df1d..d712f8d71 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/IntegerComparatorTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/IntegerComparatorTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/ListPropertyParameterTypesTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/ListPropertyParameterTypesTest.java
index 99b3dd103..9e0e056cd 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/ListPropertyParameterTypesTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/ListPropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
@@ -25,14 +25,13 @@ a copy of this software and associated documentation files (the
package com.pholser.junit.quickcheck;
-import java.util.List;
-
import com.pholser.junit.quickcheck.generator.InRange;
import com.pholser.junit.quickcheck.runner.JUnitQuickcheck;
import org.junit.Test;
import org.junit.runner.RunWith;
-import static com.pholser.junit.quickcheck.Classes.*;
+import java.util.List;
+
import static org.hamcrest.Matchers.*;
import static org.junit.Assert.*;
import static org.junit.Assume.*;
@@ -74,10 +73,8 @@ public static class ShrinkingListOfHuh {
@RunWith(JUnitQuickcheck.class)
public static class ListOfUpperBound {
@Property public void shouldHold(List extends Integer> items) {
- if (!items.isEmpty()) {
- assertThat(
- Integer.class,
- isAssignableFrom(nearestCommonSuperclassOf(classesOf(items))));
+ for (Integer each : items) {
+ // testing type cast
}
}
}
@@ -176,10 +173,8 @@ public static class ShrinkingListOfListOfRangedInteger {
public static class ListOfListOfUpperBound {
@Property(trials = 7) public void shouldHold(List> items) {
for (List extends Number> each : items) {
- if (!each.isEmpty()) {
- assertThat(
- Number.class,
- isAssignableFrom(nearestCommonSuperclassOf(classesOf(each))));
+ for (Number n : each) {
+ // testing type cast
}
}
}
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/LocalDatePropertyParameterTypesTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/LocalDatePropertyParameterTypesTest.java
index 192bbbfb0..1e007bf5e 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/LocalDatePropertyParameterTypesTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/LocalDatePropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/LocalDateTimePropertyParameterTypesTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/LocalDateTimePropertyParameterTypesTest.java
index 290f5703d..49f6b3f2f 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/LocalDateTimePropertyParameterTypesTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/LocalDateTimePropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/LocalTimePropertyParameterTypesTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/LocalTimePropertyParameterTypesTest.java
index c6104cdcd..0ae3f529c 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/LocalTimePropertyParameterTypesTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/LocalTimePropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/MapPropertyParameterTypesTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/MapPropertyParameterTypesTest.java
index 5f5f4f54d..6f90ff693 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/MapPropertyParameterTypesTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/MapPropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
@@ -25,6 +25,10 @@ a copy of this software and associated documentation files (the
package com.pholser.junit.quickcheck;
+import com.pholser.junit.quickcheck.runner.JUnitQuickcheck;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+
import java.io.Serializable;
import java.util.Collection;
import java.util.Date;
@@ -33,12 +37,6 @@ a copy of this software and associated documentation files (the
import java.util.Map;
import java.util.Set;
-import com.google.common.collect.Iterables;
-import com.pholser.junit.quickcheck.runner.JUnitQuickcheck;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-
-import static com.pholser.junit.quickcheck.Classes.*;
import static java.util.Arrays.*;
import static org.hamcrest.Matchers.*;
import static org.junit.Assert.*;
@@ -64,10 +62,8 @@ public static class MapOfHuhToHuh {
@RunWith(JUnitQuickcheck.class)
public static class MapOfHuhToUpperBound {
@Property(trials = 20) public void shouldHold(Map, ? extends Short> items) {
- if (!items.isEmpty()) {
- assertThat(
- Short.class,
- isAssignableFrom(nearestCommonSuperclassOf(classesOf(items.values()))));
+ for (Short each : items.values()) {
+ // testing type cast
}
}
}
@@ -163,10 +159,8 @@ public static class ShrinkingMapOfIntegerToMapOfByteToShort {
public static class MapOfHuhToListOfUpperBound {
@Property(trials = 20) public void shouldHold(Map, List extends Serializable>> items) {
for (List extends Serializable> each : items.values()) {
- if (!each.isEmpty()) {
- assertThat(
- Serializable.class,
- isAssignableFrom(nearestCommonSuperclassOf(classesOf(each))));
+ for (Serializable s : each) {
+ // testing type cast
}
}
}
@@ -193,10 +187,8 @@ public static class MapOfHuhToSetOfLowerBound {
@RunWith(JUnitQuickcheck.class)
public static class MapOfUpperBoundToHuh {
@Property(trials = 20) public void shouldHold(Map extends Number, ?> items) {
- if (!items.isEmpty()) {
- assertThat(
- Number.class,
- isAssignableFrom(nearestCommonSuperclassOf(classesOf(items.keySet()))));
+ for (Number each : items.keySet()) {
+ // testing type cast
}
}
}
@@ -271,10 +263,8 @@ public static class MapOfIntegerToStringToMapOfShortToDate {
public static class IterableOfUpperBoundToHuh {
@Property(trials = 20) public void shouldHold(Map, ?> items) {
for (Iterable extends Number> each : items.keySet()) {
- if (!Iterables.isEmpty(each)) {
- assertThat(
- Number.class,
- isAssignableFrom(nearestCommonSuperclassOf(classesOf(each))));
+ for (Number n : each) {
+ // testing type cast
}
}
}
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/MonthDayPropertyParameterTypesTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/MonthDayPropertyParameterTypesTest.java
index 1ee09cec6..497ff6941 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/MonthDayPropertyParameterTypesTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/MonthDayPropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/MonthPropertyParameterTypesTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/MonthPropertyParameterTypesTest.java
index 0e892dce4..756cec3da 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/MonthPropertyParameterTypesTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/MonthPropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/NumberPropertyParameterTypesTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/NumberPropertyParameterTypesTest.java
index 5df30039d..2982f8d04 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/NumberPropertyParameterTypesTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/NumberPropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/OffsetDateTimePropertyParameterTypesTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/OffsetDateTimePropertyParameterTypesTest.java
index 4d5740be1..776c6a2b9 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/OffsetDateTimePropertyParameterTypesTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/OffsetDateTimePropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/OffsetTimePropertyParameterTypesTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/OffsetTimePropertyParameterTypesTest.java
index cda16d9fb..ab1cc037d 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/OffsetTimePropertyParameterTypesTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/OffsetTimePropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/OnlyAlsoTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/OnlyAlsoTest.java
index c9443a45d..f89769d0f 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/OnlyAlsoTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/OnlyAlsoTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/PeriodPropertyParameterTypesTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/PeriodPropertyParameterTypesTest.java
index 4803f6b2c..315940feb 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/PeriodPropertyParameterTypesTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/PeriodPropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/Primitive2DArrayPropertyParameterTypesTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/Primitive2DArrayPropertyParameterTypesTest.java
index 6fe86ca6e..84eca8c4d 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/Primitive2DArrayPropertyParameterTypesTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/Primitive2DArrayPropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/Primitive3DArrayPropertyParameterTypesTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/Primitive3DArrayPropertyParameterTypesTest.java
index 305cdac44..f5f71a897 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/Primitive3DArrayPropertyParameterTypesTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/Primitive3DArrayPropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/PrimitiveArrayPropertyParameterTypesTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/PrimitiveArrayPropertyParameterTypesTest.java
index 395ec0bd6..361a8a2d9 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/PrimitiveArrayPropertyParameterTypesTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/PrimitiveArrayPropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/PrimitivePropertyParameterTypesTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/PrimitivePropertyParameterTypesTest.java
index 6964c274e..ec6df7f9e 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/PrimitivePropertyParameterTypesTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/PrimitivePropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/PropertiesPropertyParameterTypesTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/PropertiesPropertyParameterTypesTest.java
index 85c8c8322..3b6d3f878 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/PropertiesPropertyParameterTypesTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/PropertiesPropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/ReferenceArrayPropertyParameterTypesTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/ReferenceArrayPropertyParameterTypesTest.java
index 4a17daee1..9083083d9 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/ReferenceArrayPropertyParameterTypesTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/ReferenceArrayPropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/Repro179.java b/generators/src/test/java/com/pholser/junit/quickcheck/Repro179.java
index de53d3bcf..4104c9471 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/Repro179.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/Repro179.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/ReproIssue240Test.java b/generators/src/test/java/com/pholser/junit/quickcheck/ReproIssue240Test.java
new file mode 100644
index 000000000..717cdb4ff
--- /dev/null
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/ReproIssue240Test.java
@@ -0,0 +1,54 @@
+/*
+ The MIT License
+
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
+
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+*/
+
+package com.pholser.junit.quickcheck;
+
+import com.pholser.junit.quickcheck.runner.JUnitQuickcheck;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+
+import java.util.HashMap;
+import java.util.concurrent.Callable;
+
+import static org.junit.Assert.*;
+import static org.junit.experimental.results.PrintableResult.*;
+import static org.junit.experimental.results.ResultMatchers.*;
+
+public class ReproIssue240Test {
+ @Test public void issue240() {
+ assertThat(testResult(Issue240.class), isSuccessful());
+ }
+
+ @RunWith(JUnitQuickcheck.class)
+ public static class Issue240 {
+ @Property
+ public > void genericVars(
+ Callable callable)
+ throws Exception {
+
+ HashMap result = callable.call();
+ }
+ }
+}
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/SetPropertyParameterTypesTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/SetPropertyParameterTypesTest.java
index dcc97c988..11c086200 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/SetPropertyParameterTypesTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/SetPropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
@@ -25,13 +25,12 @@ a copy of this software and associated documentation files (the
package com.pholser.junit.quickcheck;
-import java.util.Set;
-
import com.pholser.junit.quickcheck.runner.JUnitQuickcheck;
import org.junit.Test;
import org.junit.runner.RunWith;
-import static com.pholser.junit.quickcheck.Classes.*;
+import java.util.Set;
+
import static org.hamcrest.Matchers.*;
import static org.junit.Assert.*;
import static org.junit.Assume.*;
@@ -56,10 +55,8 @@ public static class SetOfHuh {
@RunWith(JUnitQuickcheck.class)
public static class SetOfLowerBound {
@Property(trials = 15) public void shouldHold(Set extends Integer> items) {
- if (!items.isEmpty()) {
- assertThat(
- Integer.class,
- isAssignableFrom(nearestCommonSuperclassOf(classesOf(items))));
+ for (Integer each : items) {
+ // testing type cast
}
}
}
@@ -138,10 +135,8 @@ public static class SetOfSetOfInteger {
public static class SetOfSetOfUpperBound {
@Property public void shouldHold(Set> items) {
for (Set extends Number> each : items) {
- if (!items.isEmpty()) {
- assertThat(
- Number.class,
- isAssignableFrom(nearestCommonSuperclassOf(classesOf(each))));
+ for (Number n : each) {
+ // testing type cast
}
}
}
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/SizeConstrainedArrayPropertyParameterTypesTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/SizeConstrainedArrayPropertyParameterTypesTest.java
index 13ccb869e..2a1688c69 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/SizeConstrainedArrayPropertyParameterTypesTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/SizeConstrainedArrayPropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/SizeConstrainedListPropertyParameterTypesTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/SizeConstrainedListPropertyParameterTypesTest.java
index 9b5f685d6..f9a6c17e9 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/SizeConstrainedListPropertyParameterTypesTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/SizeConstrainedListPropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/SizeConstrainedMapPropertyParameterTypesTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/SizeConstrainedMapPropertyParameterTypesTest.java
index 9894051e2..860ad846f 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/SizeConstrainedMapPropertyParameterTypesTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/SizeConstrainedMapPropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/SizeConstrainedSetPropertyParameterTypesTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/SizeConstrainedSetPropertyParameterTypesTest.java
index 6805c1494..7b3bb68b7 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/SizeConstrainedSetPropertyParameterTypesTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/SizeConstrainedSetPropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/StringPropertyParameterTypesTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/StringPropertyParameterTypesTest.java
index 601966518..d57b7dc94 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/StringPropertyParameterTypesTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/StringPropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/YearMonthPropertyParameterTypesTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/YearMonthPropertyParameterTypesTest.java
index 284a32ceb..9eb6481a6 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/YearMonthPropertyParameterTypesTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/YearMonthPropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/YearPropertyParameterTypesTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/YearPropertyParameterTypesTest.java
index ec3431619..71a11d6e3 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/YearPropertyParameterTypesTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/YearPropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/ZoneOffsetPropertyParameterTypesTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/ZoneOffsetPropertyParameterTypesTest.java
index 2921a8d2b..5bf3cf025 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/ZoneOffsetPropertyParameterTypesTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/ZoneOffsetPropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/ZonedDateTimePropertyParameterTypesTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/ZonedDateTimePropertyParameterTypesTest.java
index 8b5bbd52d..b9cf3fee9 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/ZonedDateTimePropertyParameterTypesTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/ZonedDateTimePropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/BasicGeneratorPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/BasicGeneratorPropertyParameterTest.java
index 84cd41ba8..1847e4aff 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/BasicGeneratorPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/BasicGeneratorPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/RangeAttributes.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/RangeAttributes.java
index 7180d8012..02c3e88c6 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/RangeAttributes.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/RangeAttributes.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/VoidGeneratorTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/VoidGeneratorTest.java
index 72e13f15f..ef959b454 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/VoidGeneratorTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/VoidGeneratorTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/ConstrainedPrimitiveIntegerPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/ConstrainedPrimitiveIntegerPropertyParameterTest.java
index 547ce979b..71eb3d0ad 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/ConstrainedPrimitiveIntegerPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/ConstrainedPrimitiveIntegerPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/EncodedStringPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/EncodedStringPropertyParameterTest.java
index 095b7ff2a..a320f36e7 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/EncodedStringPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/EncodedStringPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/PrimitiveBooleanPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/PrimitiveBooleanPropertyParameterTest.java
index 96406d239..61e75d596 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/PrimitiveBooleanPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/PrimitiveBooleanPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/PrimitiveBytePropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/PrimitiveBytePropertyParameterTest.java
index 99cab996a..48ba32794 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/PrimitiveBytePropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/PrimitiveBytePropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/PrimitiveCharPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/PrimitiveCharPropertyParameterTest.java
index 82786eb02..6b49e6285 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/PrimitiveCharPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/PrimitiveCharPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/PrimitiveDoublePropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/PrimitiveDoublePropertyParameterTest.java
index 12815d2c4..691e2c484 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/PrimitiveDoublePropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/PrimitiveDoublePropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/PrimitiveFloatPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/PrimitiveFloatPropertyParameterTest.java
index 18620d93c..4d118e7d7 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/PrimitiveFloatPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/PrimitiveFloatPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/PrimitiveIntegerPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/PrimitiveIntegerPropertyParameterTest.java
index 5d0dbe403..07b105072 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/PrimitiveIntegerPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/PrimitiveIntegerPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/PrimitiveLongPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/PrimitiveLongPropertyParameterTest.java
index 30c4e2659..529f9b063 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/PrimitiveLongPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/PrimitiveLongPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/PrimitiveShortPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/PrimitiveShortPropertyParameterTest.java
index 746147706..b1be9f0df 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/PrimitiveShortPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/PrimitiveShortPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/RangedPrimitiveIntegerPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/RangedPrimitiveIntegerPropertyParameterTest.java
index d766c9efd..923dbd22c 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/RangedPrimitiveIntegerPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/RangedPrimitiveIntegerPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/StringPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/StringPropertyParameterTest.java
index e6009ca6c..964048eff 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/StringPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/StringPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/WrapperBooleanPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/WrapperBooleanPropertyParameterTest.java
index 0912050b1..9e5248449 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/WrapperBooleanPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/WrapperBooleanPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/WrapperBytePropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/WrapperBytePropertyParameterTest.java
index 07f713efd..4a400ad46 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/WrapperBytePropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/WrapperBytePropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/WrapperCharacterPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/WrapperCharacterPropertyParameterTest.java
index 54fd299b6..31daab2bf 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/WrapperCharacterPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/WrapperCharacterPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/WrapperDoublePropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/WrapperDoublePropertyParameterTest.java
index 0847495f4..0cb3b7687 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/WrapperDoublePropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/WrapperDoublePropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/WrapperFloatPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/WrapperFloatPropertyParameterTest.java
index b7d12e011..06d2f8156 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/WrapperFloatPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/WrapperFloatPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/WrapperIntegerPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/WrapperIntegerPropertyParameterTest.java
index a2579be28..5b910812a 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/WrapperIntegerPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/WrapperIntegerPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/WrapperLongPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/WrapperLongPropertyParameterTest.java
index 1f92b41d3..c990c60c8 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/WrapperLongPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/WrapperLongPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/WrapperShortPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/WrapperShortPropertyParameterTest.java
index b98d652bd..c8181ef3b 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/WrapperShortPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/WrapperShortPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/strings/CodePointRangeTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/strings/CodePointRangeTest.java
index df87f3aff..ab1880b25 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/strings/CodePointRangeTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/strings/CodePointRangeTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/strings/CodePointsTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/strings/CodePointsTest.java
index 53d77049f..f8e905b85 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/strings/CodePointsTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/strings/CodePointsTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/strings/LargeCharsetCodePointsTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/strings/LargeCharsetCodePointsTest.java
index f52cb91f1..271cb9512 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/strings/LargeCharsetCodePointsTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/lang/strings/LargeCharsetCodePointsTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/BigDecimalPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/BigDecimalPropertyParameterTest.java
index 4ddab8567..0693b1088 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/BigDecimalPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/BigDecimalPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/BigDecimalWithSpecifiedPrecisionPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/BigDecimalWithSpecifiedPrecisionPropertyParameterTest.java
index 5693472ec..546562510 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/BigDecimalWithSpecifiedPrecisionPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/BigDecimalWithSpecifiedPrecisionPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/BigIntegerPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/BigIntegerPropertyParameterTest.java
index 451a67f2e..93ec7c422 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/BigIntegerPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/BigIntegerPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigDecimalNoMaxPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigDecimalNoMaxPropertyParameterTest.java
index ecf9c5a63..f1d13dc4f 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigDecimalNoMaxPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigDecimalNoMaxPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigDecimalNoMaxWithGreaterSpecifiedPrecisionPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigDecimalNoMaxWithGreaterSpecifiedPrecisionPropertyParameterTest.java
index 559668b0d..eb3746032 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigDecimalNoMaxWithGreaterSpecifiedPrecisionPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigDecimalNoMaxWithGreaterSpecifiedPrecisionPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigDecimalNoMaxWithLesserSpecifiedPrecisionPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigDecimalNoMaxWithLesserSpecifiedPrecisionPropertyParameterTest.java
index 33d78289e..e68a9d038 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigDecimalNoMaxWithLesserSpecifiedPrecisionPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigDecimalNoMaxWithLesserSpecifiedPrecisionPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigDecimalNoMinPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigDecimalNoMinPropertyParameterTest.java
index 044754767..72fb283fa 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigDecimalNoMinPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigDecimalNoMinPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigDecimalNoMinWithGreaterSpecifiedPrecisionPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigDecimalNoMinWithGreaterSpecifiedPrecisionPropertyParameterTest.java
index 8be770edf..7ab05877c 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigDecimalNoMinWithGreaterSpecifiedPrecisionPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigDecimalNoMinWithGreaterSpecifiedPrecisionPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigDecimalNoMinWithLesserSpecifiedPrecisionPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigDecimalNoMinWithLesserSpecifiedPrecisionPropertyParameterTest.java
index 67833d21c..526cdcddc 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigDecimalNoMinWithLesserSpecifiedPrecisionPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigDecimalNoMinWithLesserSpecifiedPrecisionPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigDecimalPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigDecimalPropertyParameterTest.java
index 476b33442..ae40b5b69 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigDecimalPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigDecimalPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigDecimalWithGreaterSpecifiedPrecisionPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigDecimalWithGreaterSpecifiedPrecisionPropertyParameterTest.java
index 448e8c426..3f49f44f5 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigDecimalWithGreaterSpecifiedPrecisionPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigDecimalWithGreaterSpecifiedPrecisionPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigDecimalWithLesserSpecifiedPrecisionPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigDecimalWithLesserSpecifiedPrecisionPropertyParameterTest.java
index c5893c173..76ba35f54 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigDecimalWithLesserSpecifiedPrecisionPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigDecimalWithLesserSpecifiedPrecisionPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigIntegerNoMaxPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigIntegerNoMaxPropertyParameterTest.java
index 27a9b859f..814e10284 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigIntegerNoMaxPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigIntegerNoMaxPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigIntegerNoMinPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigIntegerNoMinPropertyParameterTest.java
index 3ad0b6679..6d8ec1b61 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigIntegerNoMinPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigIntegerNoMinPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigIntegerPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigIntegerPropertyParameterTest.java
index 59e724ffa..0e20ac389 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigIntegerPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/math/RangedBigIntegerPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/nio/charset/CharsetPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/nio/charset/CharsetPropertyParameterTest.java
index a21c3ff86..b46c28da2 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/nio/charset/CharsetPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/nio/charset/CharsetPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/BitSetPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/BitSetPropertyParameterTest.java
index 8a84b2c9a..9b90ea7e3 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/BitSetPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/BitSetPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/DatePropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/DatePropertyParameterTest.java
index 2d1e2a748..46dc04db3 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/DatePropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/DatePropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/HashtableGeneratorTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/HashtableGeneratorTest.java
index 53cc44b67..bcba2815d 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/HashtableGeneratorTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/HashtableGeneratorTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/ListOfExtendsShortPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/ListOfExtendsShortPropertyParameterTest.java
index 5b0dfa5b1..14b8ea4f9 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/ListOfExtendsShortPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/ListOfExtendsShortPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/ListOfHuhPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/ListOfHuhPropertyParameterTest.java
index 4c0ba9667..89167e648 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/ListOfHuhPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/ListOfHuhPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/ListOfIntArrayPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/ListOfIntArrayPropertyParameterTest.java
index 1d3b1255d..1a9e148e7 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/ListOfIntArrayPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/ListOfIntArrayPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/ListOfSuperLongPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/ListOfSuperLongPropertyParameterTest.java
index 759fc2d67..0d72bebd2 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/ListOfSuperLongPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/ListOfSuperLongPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/ListOfWrapperLongPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/ListOfWrapperLongPropertyParameterTest.java
index 2317f6b62..2e7138296 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/ListOfWrapperLongPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/ListOfWrapperLongPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/LocalePropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/LocalePropertyParameterTest.java
index 09f7c01dd..ce2cd725c 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/LocalePropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/LocalePropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/MapOfIntegerToFloatPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/MapOfIntegerToFloatPropertyParameterTest.java
index 1a37aeb59..9c46206e0 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/MapOfIntegerToFloatPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/MapOfIntegerToFloatPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/MessageDigestsTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/MessageDigestsTest.java
index 7d9544901..b28b42c68 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/MessageDigestsTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/MessageDigestsTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/MessageDigestsUtilityClassTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/MessageDigestsUtilityClassTest.java
index 65659414c..23ea07aa6 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/MessageDigestsUtilityClassTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/MessageDigestsUtilityClassTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/OptionalDoublePropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/OptionalDoublePropertyParameterTest.java
index 749ad4b25..bcd6525da 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/OptionalDoublePropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/OptionalDoublePropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/OptionalIntPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/OptionalIntPropertyParameterTest.java
index e833bd042..48bb8193d 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/OptionalIntPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/OptionalIntPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/OptionalLongPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/OptionalLongPropertyParameterTest.java
index 1f50b1217..cd5bd0b42 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/OptionalLongPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/OptionalLongPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/OptionalPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/OptionalPropertyParameterTest.java
index 55240549e..33993d2de 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/OptionalPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/OptionalPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/PropertiesPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/PropertiesPropertyParameterTest.java
index 1078ce441..54de2b6ef 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/PropertiesPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/PropertiesPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/RFC4122UtilityClassTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/RFC4122UtilityClassTest.java
index 68d6643eb..5446689ae 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/RFC4122UtilityClassTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/RFC4122UtilityClassTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/RFC4122Version3PropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/RFC4122Version3PropertyParameterTest.java
index b99c1b22a..5fddfbaf3 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/RFC4122Version3PropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/RFC4122Version3PropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/RFC4122Version4PropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/RFC4122Version4PropertyParameterTest.java
index 881a67826..e91bc85ea 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/RFC4122Version4PropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/RFC4122Version4PropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/RFC4122Version5PropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/RFC4122Version5PropertyParameterTest.java
index 388e2a02b..526f81462 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/RFC4122Version5PropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/RFC4122Version5PropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/RangedDatePropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/RangedDatePropertyParameterTest.java
index 55226348c..e301036f2 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/RangedDatePropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/RangedDatePropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/SetOfEnumPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/SetOfEnumPropertyParameterTest.java
index 8f9e13385..3762d09b7 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/SetOfEnumPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/SetOfEnumPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/SetOfExtendsBytePropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/SetOfExtendsBytePropertyParameterTest.java
index 973aa153a..07af9554e 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/SetOfExtendsBytePropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/SetOfExtendsBytePropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/SetOfHuhPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/SetOfHuhPropertyParameterTest.java
index 353d54dc8..2225eede9 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/SetOfHuhPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/SetOfHuhPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/SetOfSuperFloatPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/SetOfSuperFloatPropertyParameterTest.java
index 117e021e8..6d6f31b43 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/SetOfSuperFloatPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/SetOfSuperFloatPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/SetOfWrapperBooleanPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/SetOfWrapperBooleanPropertyParameterTest.java
index b57930909..cb131a919 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/SetOfWrapperBooleanPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/SetOfWrapperBooleanPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/TimeZonePropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/TimeZonePropertyParameterTest.java
index 5eeb12c63..34e829ecf 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/TimeZonePropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/TimeZonePropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/BiConsumerPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/BiConsumerPropertyParameterTest.java
index dbb7a9879..d4a5e3c9f 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/BiConsumerPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/BiConsumerPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/BiFunctionPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/BiFunctionPropertyParameterTest.java
index ba3113803..7e39def70 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/BiFunctionPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/BiFunctionPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/BiPredicatePropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/BiPredicatePropertyParameterTest.java
index 89cc6e74e..8a31eaf85 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/BiPredicatePropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/BiPredicatePropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/BinaryOperatorPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/BinaryOperatorPropertyParameterTest.java
index c05294add..57a68e42c 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/BinaryOperatorPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/BinaryOperatorPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/BooleanSupplierPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/BooleanSupplierPropertyParameterTest.java
index af9bf6c91..2559313ca 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/BooleanSupplierPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/BooleanSupplierPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/ConsumerPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/ConsumerPropertyParameterTest.java
index f7281ad31..7b0c2e13c 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/ConsumerPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/ConsumerPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/DoubleBinaryOperatorPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/DoubleBinaryOperatorPropertyParameterTest.java
index 06fca63d3..c42a621c2 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/DoubleBinaryOperatorPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/DoubleBinaryOperatorPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/DoubleConsumerPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/DoubleConsumerPropertyParameterTest.java
index f1e06442f..a77a1fde2 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/DoubleConsumerPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/DoubleConsumerPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/DoubleFunctionPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/DoubleFunctionPropertyParameterTest.java
index d4b5c125d..cb32545a2 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/DoubleFunctionPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/DoubleFunctionPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/DoublePredicatePropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/DoublePredicatePropertyParameterTest.java
index c6b871900..c20eadfb4 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/DoublePredicatePropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/DoublePredicatePropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/DoubleSupplierPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/DoubleSupplierPropertyParameterTest.java
index e62ce5faf..84eb369e9 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/DoubleSupplierPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/DoubleSupplierPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/DoubleToIntFunctionPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/DoubleToIntFunctionPropertyParameterTest.java
index 2db9cc25f..1a34c0e5d 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/DoubleToIntFunctionPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/DoubleToIntFunctionPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/DoubleToLongFunctionPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/DoubleToLongFunctionPropertyParameterTest.java
index 9c660e877..b6451b44e 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/DoubleToLongFunctionPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/DoubleToLongFunctionPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/DoubleUnaryOperatorPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/DoubleUnaryOperatorPropertyParameterTest.java
index 9a4842a3c..d4934555a 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/DoubleUnaryOperatorPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/DoubleUnaryOperatorPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/FunctionPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/FunctionPropertyParameterTest.java
index 625d75e55..af2f55449 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/FunctionPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/FunctionPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/IntBinaryOperatorPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/IntBinaryOperatorPropertyParameterTest.java
index 83aaa4bfa..ff1ac0a73 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/IntBinaryOperatorPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/IntBinaryOperatorPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/IntConsumerPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/IntConsumerPropertyParameterTest.java
index ae68518d0..7e34bf3f4 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/IntConsumerPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/IntConsumerPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/IntFunctionPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/IntFunctionPropertyParameterTest.java
index c86bf0f5e..68c8325cc 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/IntFunctionPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/IntFunctionPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/IntPredicatePropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/IntPredicatePropertyParameterTest.java
index 42f3a507f..99c83d66a 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/IntPredicatePropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/IntPredicatePropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/IntSupplierPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/IntSupplierPropertyParameterTest.java
index 425fff179..aff20ad05 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/IntSupplierPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/IntSupplierPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/IntToDoubleFunctionPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/IntToDoubleFunctionPropertyParameterTest.java
index d31323286..9a30b8a5d 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/IntToDoubleFunctionPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/IntToDoubleFunctionPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/IntToLongFunctionPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/IntToLongFunctionPropertyParameterTest.java
index 664f7452c..4b1fe94ba 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/IntToLongFunctionPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/IntToLongFunctionPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/IntUnaryOperatorPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/IntUnaryOperatorPropertyParameterTest.java
index 83518f11c..652b5eb1d 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/IntUnaryOperatorPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/IntUnaryOperatorPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/LongBinaryOperatorPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/LongBinaryOperatorPropertyParameterTest.java
index 29c5f915c..5dd825e94 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/LongBinaryOperatorPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/LongBinaryOperatorPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/LongConsumerPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/LongConsumerPropertyParameterTest.java
index 3d0810ab5..8841b7f3d 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/LongConsumerPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/LongConsumerPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/LongFunctionPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/LongFunctionPropertyParameterTest.java
index 3413f5bbf..448e68d89 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/LongFunctionPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/LongFunctionPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/LongPredicatePropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/LongPredicatePropertyParameterTest.java
index ee8ae1bae..69dd4054b 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/LongPredicatePropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/LongPredicatePropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/LongSupplierPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/LongSupplierPropertyParameterTest.java
index 978fe0d19..906b7e671 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/LongSupplierPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/LongSupplierPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/LongToDoubleFunctionPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/LongToDoubleFunctionPropertyParameterTest.java
index 146c617c9..40db04c12 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/LongToDoubleFunctionPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/LongToDoubleFunctionPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/LongToIntFunctionPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/LongToIntFunctionPropertyParameterTest.java
index 302fd02cd..733ce5e03 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/LongToIntFunctionPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/LongToIntFunctionPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/LongUnaryOperatorPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/LongUnaryOperatorPropertyParameterTest.java
index a475e95be..3b1c4f38d 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/LongUnaryOperatorPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/LongUnaryOperatorPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/ObjDoubleConsumerPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/ObjDoubleConsumerPropertyParameterTest.java
index 544aaaca6..25cfacf24 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/ObjDoubleConsumerPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/ObjDoubleConsumerPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/ObjIntConsumerPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/ObjIntConsumerPropertyParameterTest.java
index 928033bd2..549c96f4f 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/ObjIntConsumerPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/ObjIntConsumerPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/ObjLongConsumerPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/ObjLongConsumerPropertyParameterTest.java
index 970793cc7..d211e880f 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/ObjLongConsumerPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/ObjLongConsumerPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/PredicatePropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/PredicatePropertyParameterTest.java
index 483f45d9e..7fce0a9d7 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/PredicatePropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/PredicatePropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/SupplierPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/SupplierPropertyParameterTest.java
index d3258c198..933a56d2c 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/SupplierPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/SupplierPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/ToDoubleBiFunctionPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/ToDoubleBiFunctionPropertyParameterTest.java
index 5d47e81a5..339049acf 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/ToDoubleBiFunctionPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/ToDoubleBiFunctionPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/ToDoubleFunctionPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/ToDoubleFunctionPropertyParameterTest.java
index c255d4b88..a739ded3d 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/ToDoubleFunctionPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/ToDoubleFunctionPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/ToIntBiFunctionPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/ToIntBiFunctionPropertyParameterTest.java
index 7f08c38ce..52f75d70c 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/ToIntBiFunctionPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/ToIntBiFunctionPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/ToIntFunctionPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/ToIntFunctionPropertyParameterTest.java
index ccae45ca9..8439b4cf9 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/ToIntFunctionPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/ToIntFunctionPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/ToLongBiFunctionPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/ToLongBiFunctionPropertyParameterTest.java
index 7cc75a038..7e17fe5f9 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/ToLongBiFunctionPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/ToLongBiFunctionPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/ToLongFunctionPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/ToLongFunctionPropertyParameterTest.java
index 1e3e8ce2b..0bc400df2 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/ToLongFunctionPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/ToLongFunctionPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/UnaryOperatorPropertyParameterTest.java b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/UnaryOperatorPropertyParameterTest.java
index 3ad5f6e73..48e6711cc 100644
--- a/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/UnaryOperatorPropertyParameterTest.java
+++ b/generators/src/test/java/com/pholser/junit/quickcheck/generator/java/util/function/UnaryOperatorPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/guava/pom.xml b/guava/pom.xml
index 6d5f07a25..712f01657 100644
--- a/guava/pom.xml
+++ b/guava/pom.xml
@@ -4,11 +4,11 @@
com.pholser
junit-quickcheck
- 0.9
+ 0.9.1-SNAPSHOT
junit-quickcheck-guava
- 0.9
+ 0.9.1-SNAPSHOT
jar
junit-quickcheck-guava
Property-based testing, JUnit-style: generators for Guava types
@@ -22,12 +22,12 @@
com.pholser
junit-quickcheck-core
- 0.9
+ 0.9.1-SNAPSHOT
com.pholser
junit-quickcheck-generators
- 0.9
+ 0.9.1-SNAPSHOT
com.google.guava
@@ -58,7 +58,7 @@
com.pholser
junit-quickcheck-core
- 0.9
+ 0.9.1-SNAPSHOT
test
test-jar
diff --git a/guava/src/main/java/com/pholser/junit/quickcheck/guava/generator/FunctionGenerator.java b/guava/src/main/java/com/pholser/junit/quickcheck/guava/generator/FunctionGenerator.java
index 9aae187f0..7ba3a8e15 100644
--- a/guava/src/main/java/com/pholser/junit/quickcheck/guava/generator/FunctionGenerator.java
+++ b/guava/src/main/java/com/pholser/junit/quickcheck/guava/generator/FunctionGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/guava/src/main/java/com/pholser/junit/quickcheck/guava/generator/OptionalGenerator.java b/guava/src/main/java/com/pholser/junit/quickcheck/guava/generator/OptionalGenerator.java
index 9ae39c2ba..187883550 100644
--- a/guava/src/main/java/com/pholser/junit/quickcheck/guava/generator/OptionalGenerator.java
+++ b/guava/src/main/java/com/pholser/junit/quickcheck/guava/generator/OptionalGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/guava/src/main/java/com/pholser/junit/quickcheck/guava/generator/PredicateGenerator.java b/guava/src/main/java/com/pholser/junit/quickcheck/guava/generator/PredicateGenerator.java
index 6ecea7b29..9e8e1b3be 100644
--- a/guava/src/main/java/com/pholser/junit/quickcheck/guava/generator/PredicateGenerator.java
+++ b/guava/src/main/java/com/pholser/junit/quickcheck/guava/generator/PredicateGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/guava/src/main/java/com/pholser/junit/quickcheck/guava/generator/SupplierGenerator.java b/guava/src/main/java/com/pholser/junit/quickcheck/guava/generator/SupplierGenerator.java
index 1cd3d07b4..83d9b67f9 100644
--- a/guava/src/main/java/com/pholser/junit/quickcheck/guava/generator/SupplierGenerator.java
+++ b/guava/src/main/java/com/pholser/junit/quickcheck/guava/generator/SupplierGenerator.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/guava/src/test/java/com/pholser/junit/quickcheck/guava/generator/FunctionOfStringToIntPropertyParameterTest.java b/guava/src/test/java/com/pholser/junit/quickcheck/guava/generator/FunctionOfStringToIntPropertyParameterTest.java
index 236d3559d..52536f954 100644
--- a/guava/src/test/java/com/pholser/junit/quickcheck/guava/generator/FunctionOfStringToIntPropertyParameterTest.java
+++ b/guava/src/test/java/com/pholser/junit/quickcheck/guava/generator/FunctionOfStringToIntPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/guava/src/test/java/com/pholser/junit/quickcheck/guava/generator/FunctionPropertyParameterTypesTest.java b/guava/src/test/java/com/pholser/junit/quickcheck/guava/generator/FunctionPropertyParameterTypesTest.java
index ef30e4ad6..e266f8f68 100644
--- a/guava/src/test/java/com/pholser/junit/quickcheck/guava/generator/FunctionPropertyParameterTypesTest.java
+++ b/guava/src/test/java/com/pholser/junit/quickcheck/guava/generator/FunctionPropertyParameterTypesTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/guava/src/test/java/com/pholser/junit/quickcheck/guava/generator/OptionalPropertyParameterTest.java b/guava/src/test/java/com/pholser/junit/quickcheck/guava/generator/OptionalPropertyParameterTest.java
index 50d4151d2..9f5fc070c 100644
--- a/guava/src/test/java/com/pholser/junit/quickcheck/guava/generator/OptionalPropertyParameterTest.java
+++ b/guava/src/test/java/com/pholser/junit/quickcheck/guava/generator/OptionalPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/guava/src/test/java/com/pholser/junit/quickcheck/guava/generator/PredicatePropertyParameterTest.java b/guava/src/test/java/com/pholser/junit/quickcheck/guava/generator/PredicatePropertyParameterTest.java
index ffe895fec..19bef7bfb 100644
--- a/guava/src/test/java/com/pholser/junit/quickcheck/guava/generator/PredicatePropertyParameterTest.java
+++ b/guava/src/test/java/com/pholser/junit/quickcheck/guava/generator/PredicatePropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/guava/src/test/java/com/pholser/junit/quickcheck/guava/generator/SupplierPropertyParameterTest.java b/guava/src/test/java/com/pholser/junit/quickcheck/guava/generator/SupplierPropertyParameterTest.java
index 2f2993c92..f8c98056e 100644
--- a/guava/src/test/java/com/pholser/junit/quickcheck/guava/generator/SupplierPropertyParameterTest.java
+++ b/guava/src/test/java/com/pholser/junit/quickcheck/guava/generator/SupplierPropertyParameterTest.java
@@ -1,7 +1,7 @@
/*
The MIT License
- Copyright (c) 2010-2018 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/pom.xml b/pom.xml
index e94893970..4c2add930 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2,7 +2,7 @@
4.0.0
com.pholser
junit-quickcheck
- 0.9
+ 0.9.1-SNAPSHOT
pom
junit-quickcheck
Property-based testing, JUnit-style
@@ -384,7 +384,7 @@
http://junit.org/junit4/javadoc/latest/
http://google.github.io/guava/releases/19.0/api/docs/
- © Copyright 2010-2017 Paul R. Holser, Jr. All rights reserved. Licensed under The MIT License. pholser@alumni.rice.edu]]>
+ © Copyright 2010-2020 Paul R. Holser, Jr. All rights reserved. Licensed under The MIT License. pholser@alumni.rice.edu]]>
diff --git a/src/site/markdown/license.md b/src/site/markdown/license.md
index d3ec19ee8..6cf49a29e 100644
--- a/src/site/markdown/license.md
+++ b/src/site/markdown/license.md
@@ -3,7 +3,7 @@ junit-quickcheck is written by Paul Holser, and is distributed under
The MIT License
- Copyright (c) 2010-2017 Paul R. Holser, Jr.
+ Copyright (c) 2010-2020 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the