rm obsolete check for type change

This commit is contained in:
Eduard Heimbuch
2020-10-19 15:36:43 +02:00
parent 119d274ad8
commit 05bf51b5b1

View File

@@ -46,8 +46,6 @@ public class ManagerDaoAdapter<T extends ModelObject> {
if (notModified != null) {
permissionCheck.apply(notModified).check();
doThrow().violation("type must not be changed").when(!notModified.getType().equals(object.getType()));
AssertUtil.assertIsValid(object);
beforeUpdate.handle(notModified);