removing unnecesary validation

This commit is contained in:
Ezequiel Bergamaschi 2014-01-25 23:21:44 -03:00 committed by Ezequiel Bergamaschi
parent 1b480b566a
commit c68b4c90da

View File

@ -229,9 +229,6 @@ public class Mindmap {
}
public void setCreator(@NotNull User creator) {
if (creator == null) {
throw new IllegalArgumentException("Owner can not be null");
}
this.creator = creator;
}