From 839cc048448672080d85a7bd9e7acf0bd2dfb686 Mon Sep 17 00:00:00 2001 From: Mike Hearn Date: Fri, 19 May 2017 11:24:55 +0200 Subject: [PATCH] Minor: MappedSchema is now open rather than abstract (it had no abstract members) --- .../main/kotlin/net/corda/core/schemas/PersistentTypes.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/main/kotlin/net/corda/core/schemas/PersistentTypes.kt b/core/src/main/kotlin/net/corda/core/schemas/PersistentTypes.kt index ed401c2f39..514c3384bf 100644 --- a/core/src/main/kotlin/net/corda/core/schemas/PersistentTypes.kt +++ b/core/src/main/kotlin/net/corda/core/schemas/PersistentTypes.kt @@ -37,9 +37,9 @@ interface QueryableState : ContractState { * @param version The version number of this instance within the family. * @param mappedTypes The JPA entity classes that the ORM layer needs to be configure with for this schema. */ -abstract class MappedSchema(schemaFamily: Class<*>, - val version: Int, - val mappedTypes: Iterable>) { +open class MappedSchema(schemaFamily: Class<*>, + val version: Int, + val mappedTypes: Iterable>) { val name: String = schemaFamily.name override fun toString(): String = "${this.javaClass.simpleName}(name=$name, version=$version)" }