删除多余的注解。
parent
c69aaf7ba1
commit
fc4725d932
|
@ -5,8 +5,6 @@ import java.util.HashSet;
|
|||
import java.util.Optional;
|
||||
import java.util.Set;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import lombok.ToString;
|
||||
|
@ -115,7 +113,7 @@ public class Account extends AggregateRoot<Long> implements IWithVersion {
|
|||
addDomainEvent(new AccountRolesBound(this));
|
||||
}
|
||||
|
||||
public boolean checkPassword(@Nonnull String password) {
|
||||
public boolean checkPassword(String password) {
|
||||
return this.password.check(password);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue