From cb420bff7af9b3207688878d4dafec1aff0c7917 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20K=C5=99emen?= Date: Thu, 13 May 2021 08:30:52 +0200 Subject: [PATCH] [R-#1573] PR feedback --- src/main/java/cz/cvut/kbss/termit/rest/TermController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/cz/cvut/kbss/termit/rest/TermController.java b/src/main/java/cz/cvut/kbss/termit/rest/TermController.java index bfe1f12f0..4331d6145 100644 --- a/src/main/java/cz/cvut/kbss/termit/rest/TermController.java +++ b/src/main/java/cz/cvut/kbss/termit/rest/TermController.java @@ -545,7 +545,7 @@ public List getAllRoots(@RequestParam(name = Constants.QueryParams.PAGE */ @GetMapping(value = "/terms", produces = {MediaType.APPLICATION_JSON_VALUE, JsonLd.MEDIA_TYPE}) - public List getAll(@RequestParam(required = false) String searchString) { + public List getAll(@RequestParam String searchString) { return termService.findAll(searchString); } }