(Sonar) Fixed finding: "@Override should be used on overriding and implementing methods"

This commit is contained in:
pixeebot[bot]
2024-06-07 04:38:10 +00:00
committed by GitHub
parent 6606850e4a
commit 9147d364bc
2 changed files with 3 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ class AppUpdateAuthService implements ShowAdminInterface {
@Autowired private UserRepository userRepository;
@Autowired private ApplicationProperties applicationProperties;
@Override
public boolean getShowUpdateOnlyAdmins() {
boolean showUpdate = applicationProperties.getSystem().getShowUpdate();
if (!showUpdate) {