From fc4725d9323f56c415d34ca6daf0f43184899799 Mon Sep 17 00:00:00 2001 From: ZhouXY108 Date: Mon, 12 Dec 2022 04:00:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=A4=9A=E4=BD=99=E7=9A=84?= =?UTF-8?q?=E6=B3=A8=E8=A7=A3=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../zhouxy/plusone/system/domain/model/account/Account.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plusone-system/plusone-system-domain/src/main/java/xyz/zhouxy/plusone/system/domain/model/account/Account.java b/plusone-system/plusone-system-domain/src/main/java/xyz/zhouxy/plusone/system/domain/model/account/Account.java index e19ab3a..2946951 100644 --- a/plusone-system/plusone-system-domain/src/main/java/xyz/zhouxy/plusone/system/domain/model/account/Account.java +++ b/plusone-system/plusone-system-domain/src/main/java/xyz/zhouxy/plusone/system/domain/model/account/Account.java @@ -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 implements IWithVersion { addDomainEvent(new AccountRolesBound(this)); } - public boolean checkPassword(@Nonnull String password) { + public boolean checkPassword(String password) { return this.password.check(password); }