mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-25 15:37:56 +01:00
removing unnecesary validation
This commit is contained in:
parent
1b480b566a
commit
c68b4c90da
@ -229,9 +229,6 @@ public class Mindmap {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void setCreator(@NotNull User creator) {
|
public void setCreator(@NotNull User creator) {
|
||||||
if (creator == null) {
|
|
||||||
throw new IllegalArgumentException("Owner can not be null");
|
|
||||||
}
|
|
||||||
this.creator = creator;
|
this.creator = creator;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user