From abdc45176d01c749751c4980d91823e7b13afc6c Mon Sep 17 00:00:00 2001 From: Andras Slemmer Date: Tue, 6 Sep 2016 13:53:39 +0100 Subject: [PATCH] Revert "core: Small Generator fix" This reverts commit c57731a978fe41f38b91dbe97dd1e1ddc9e274d1. --- core/src/main/kotlin/com/r3corda/core/testing/Generators.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/kotlin/com/r3corda/core/testing/Generators.kt b/core/src/main/kotlin/com/r3corda/core/testing/Generators.kt index 3f98a4e7af..a294a409f0 100644 --- a/core/src/main/kotlin/com/r3corda/core/testing/Generators.kt +++ b/core/src/main/kotlin/com/r3corda/core/testing/Generators.kt @@ -94,6 +94,6 @@ val durationGenerator = generator { random, status -> } val timestampGenerator = generator { random, status -> - Timestamp(instantGenerator.generate(random, status), durationGenerator.generate(random, status)) + Timestamp(InstantGenerator().generate(random, status), DurationGenerator().generate(random, status)) }