core-java
core-java copied to clipboard
Make single-`TenantIndex` more robust
The default implementation in io.spine.server.tenant.SingleTenantIndex
does nothing in the keep(TenantId)
method.
To make it more robust for the business logic that works with multi/single-tenant logic, it should throw an exception on such a call.