From 4dc921e5baa0f4e0af820454b5d1061eff7c4d74 Mon Sep 17 00:00:00 2001 From: Valentin CZERYBA Date: Wed, 15 Jun 2022 23:26:00 +0200 Subject: [PATCH] remove function get useless --- .../java/com/covas/Resources/MailRessource.java | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/main/java/com/covas/Resources/MailRessource.java b/src/main/java/com/covas/Resources/MailRessource.java index 9205b2a..5a8edf2 100644 --- a/src/main/java/com/covas/Resources/MailRessource.java +++ b/src/main/java/com/covas/Resources/MailRessource.java @@ -49,19 +49,5 @@ public class MailRessource { } return Response.ok().build(); } - - @GET - @Path("set-redis") - public Response setRedis(){ - redisClient.set(Arrays.asList("toto","sss")); - return Response.ok().build(); - } - - @GET - @Path("get-redis/{id}") - public Response getRedis(@PathParam("id") String id){ - return Response.ok().entity(redisClient.get(id).toString()).build(); - } - }