79457878

Date: 2025-02-21 15:36:21
Score: 1
Natty:
Report link

I believe the issue lies in the fact that you're using toList(), which returns an immutable list instead of mutable list. Could you change:

.toList()

to:

.collect(Collectors.toList())
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Aimene Nouri