Browse Source

[Improvement][Api] add @Override on the Override method (#8452)

3.0.0/version-upgrade
KingsleyY 3 years ago committed by GitHub
parent
commit
2a844dcc67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/TenantServiceImpl.java

1
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 * @param tenantCode tenant code
* @return ture if the tenant code exists, otherwise return false * @return ture if the tenant code exists, otherwise return false
*/ */
@Override
public boolean checkTenantExists(String tenantCode) { public boolean checkTenantExists(String tenantCode) {
Boolean existTenant = tenantMapper.existTenant(tenantCode); Boolean existTenant = tenantMapper.existTenant(tenantCode);
return existTenant == Boolean.TRUE; return existTenant == Boolean.TRUE;

Loading…
Cancel
Save