Minor: MappedSchema is now open rather than abstract (it had no abstract members)

This commit is contained in:
Mike Hearn 2017-05-19 11:24:55 +02:00
parent 8d538e14a0
commit 839cc04844

View File

@ -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<Class<*>>) {
open class MappedSchema(schemaFamily: Class<*>,
val version: Int,
val mappedTypes: Iterable<Class<*>>) {
val name: String = schemaFamily.name
override fun toString(): String = "${this.javaClass.simpleName}(name=$name, version=$version)"
}