Spring Boot - Advanced Patterns
Identify the error in this Spring Boot feature flag usage:
@GetMapping("/feature")
public String feature() {
if(featureFlagService.isFeatureEnabled) {
return "Feature ON";
} else {
return "Feature OFF";
}
}