Write javadoc for TourService.getToursByRating
Closed this issue · 1 comments
melanger commented
Write javadoc for TourService.getToursByRating
melanger commented
Also:
- I would rename the method to getToursByAverageRating
- since you (basically) assume that all ratings are between 0 and 10, please make sure that they are (that includes min and max contraints on the Tour entity + documenting that)