File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/main/java/upc/edu/gessi/repo/service Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 11package upc .edu .gessi .repo .service ;
22
33import upc .edu .gessi .repo .dto .Review .ReviewDTO ;
4+ import upc .edu .gessi .repo .dto .Review .ReviewFeatureDTO ;
45import upc .edu .gessi .repo .exception .Reviews .NoReviewsFoundException ;
56
67import java .util .List ;
@@ -14,6 +15,6 @@ public interface ReviewService extends CrudService<ReviewDTO> {
1415
1516 List <ReviewDTO > getByFeature (String feature );
1617
17- List <ReviewDTO > getByFeatures (List <String > features ) throws NoReviewsFoundException ;
18+ List <ReviewFeatureDTO > getByFeatures (List <String > features ) throws NoReviewsFoundException ;
1819
1920}
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ public List<ReviewDTO> getByFeature(String feature) {
117117 }
118118
119119 @ Override
120- public List <ReviewDTO > getByFeatures (List <String > features ) throws NoReviewsFoundException {
120+ public List <ReviewFeatureDTO > getByFeatures (List <String > features ) throws NoReviewsFoundException {
121121 return ((ReviewRepository ) useRepository (ReviewRepository .class )).findAllByFeatures (features );
122122 }
123123}
You can’t perform that action at this time.
0 commit comments