mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-07-04 14:39:47 +02:00
rm obsolete check for type change
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user