This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects

Resolve "Candidates for Code Smells in Peer Reviews"

Merged Michael Breu requested to merge 379-candidates-for-code-smells-in-peer-reviews into development
Compare and
1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
@@ -125,6 +125,7 @@ public class ReviewResource {
* @return the {@link ResponseEntity} with status {@code 200 (OK)} and the list of reviews in body.
*/
@GetMapping("/review")
@PreAuthorize(ADMIN_ROLE)
public ResponseEntity<List<ReviewDTO>> getAllReviews(ReviewCriteria criteria) {
log.debug("REST request to get Reviews by criteria: {}", criteria);
List<ReviewDTO> entityList = reviewQueryService.findByCriteria(criteria);