From e83193e8a9752caced867ff232d43d26db4f9f88 Mon Sep 17 00:00:00 2001
From: srosse <none@none>
Date: Wed, 20 Sep 2017 08:50:06 +0200
Subject: [PATCH] OO-2636: fix warning for the PATH of a REST method

---
 .../modules/lecture/restapi/LectureBlocksRootWebService.java     | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/main/java/org/olat/modules/lecture/restapi/LectureBlocksRootWebService.java b/src/main/java/org/olat/modules/lecture/restapi/LectureBlocksRootWebService.java
index 84b8e3df8ae..22ab3b8c9cf 100644
--- a/src/main/java/org/olat/modules/lecture/restapi/LectureBlocksRootWebService.java
+++ b/src/main/java/org/olat/modules/lecture/restapi/LectureBlocksRootWebService.java
@@ -66,7 +66,6 @@ public class LectureBlocksRootWebService {
 	 * @return The lecture blocks
 	 */
 	@GET
-	@Path("")
 	@Produces({MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML})
 	public Response searchLectureBlocks(@QueryParam("date") String date, @Context HttpServletRequest httpRequest) {
 		Roles roles = getRoles(httpRequest);
-- 
GitLab