From f6ed1c5481814e351edece01908e71d27f7a5c63 Mon Sep 17 00:00:00 2001 From: Minjae-An Date: Sun, 12 May 2024 22:05:39 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20dev=20=EB=B8=8C=EB=9E=9C=EC=B9=98=20?= =?UTF-8?q?=EB=B3=91=ED=95=A9=20=EA=B3=BC=EC=A0=95=EC=84=9C=20=EC=9E=98?= =?UTF-8?q?=EB=AA=BB=20=EB=B0=98=EC=98=81=EB=90=9C=20=EB=82=B4=EC=97=AD=20?= =?UTF-8?q?=EC=82=AD=EC=A0=9C(#43)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- be/src/main/java/yeonba/be/user/entity/User.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/be/src/main/java/yeonba/be/user/entity/User.java b/be/src/main/java/yeonba/be/user/entity/User.java index e98f819f..ba55df69 100644 --- a/be/src/main/java/yeonba/be/user/entity/User.java +++ b/be/src/main/java/yeonba/be/user/entity/User.java @@ -138,13 +138,6 @@ public User( this.deleted = false; } - public void validateSameUser(User user) { - - if (!this.equals(user)) { - throw new IllegalArgumentException("동일한 사용자가 아닙니다."); - } - } - public void validateNotSameUser(User user) { if (this.equals(user)) {