删除多余的注解。

pull/1/head
ZhouXY108 2022-12-12 04:00:05 +08:00
parent c69aaf7ba1
commit fc4725d932
1 changed files with 1 additions and 3 deletions

View File

@ -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);
}