Closed atkaksoy501 closed 5 months ago
The updates focus on refining the return type for a method related to retrieving retreats by department ID. By switching from Iterable
to List
, the change specifies a more concrete collection type, enhancing the method's usability and clarity in the application's business logic and API layers.
Files | Summary |
---|---|
.../controllers/RetreatsController.java , .../abstracts/IRetreatService.java , .../concretes/RetreatService.java |
Added java.util.List import. Changed return type of getRetreatsByDepartmentId from Iterable<...> to List<...> . |
🐇✨
In the land of code where the Java beans grow,
A change was made, whereList
s now flow.
FromIterable
they came, toList
they go,
Enhancing clarity, making the code glow.
So hop with joy, for the updates show,
A path more refined, where developers can row.
🌟🐰
Summary by CodeRabbit