From 2a844dcc67c8d9d79d21fe88583489566a96efa7 Mon Sep 17 00:00:00 2001 From: KingsleyY <42668765+CallMeKingsley97@users.noreply.github.com> Date: Tue, 22 Feb 2022 13:10:28 +0800 Subject: [PATCH] [Improvement][Api] add @Override on the Override method (#8452) --- .../dolphinscheduler/api/service/impl/TenantServiceImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/TenantServiceImpl.java b/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/TenantServiceImpl.java index 0601725797..7aecb7443f 100644 --- a/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/TenantServiceImpl.java +++ b/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/TenantServiceImpl.java @@ -322,6 +322,7 @@ public class TenantServiceImpl extends BaseServiceImpl implements TenantService * @param tenantCode tenant code * @return ture if the tenant code exists, otherwise return false */ + @Override public boolean checkTenantExists(String tenantCode) { Boolean existTenant = tenantMapper.existTenant(tenantCode); return existTenant == Boolean.TRUE;