# Trova il bug: Spring Boot > Uno snippet di codice. Trova il bug, o dimostra che non ce n'è. Sfida del giorno: 2026-08-19 (UTC) · Mid-Level ```java package com.example.auth; import org.springframework.stereotype.Service; @Service public class RoleService { public boolean isAdmin(String role) { if (role == "ADMIN") { return true; } return false; } } ``` ## Il tuo verdetto - Falla di sicurezza - Bug di logica - Stile del codice - Nessun problema Un tentativo al giorno. La risposta appare subito dopo. --- Source: SharpSkill (https://sharpskill.dev), tech interview preparation for your real stack. HTML version of this page: https://sharpskill.dev/it/sfida-del-giorno/spring-boot