mirror of
https://github.com/corda/corda.git
synced 2025-02-20 09:26:41 +00:00
Minor: MappedSchema is now open rather than abstract (it had no abstract members)
This commit is contained in:
parent
8d538e14a0
commit
839cc04844
@ -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)"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user