From 6f589a020a33fbdbf138a0666c904cdaf90fde60 Mon Sep 17 00:00:00 2001 From: Roman Nikitenko Date: Tue, 5 Sep 2017 11:12:30 +0300 Subject: [PATCH] Fix switch statement Signed-off-by: Roman Nikitenko --- .../che/api/core/jsonrpc/commons/RequestHandlerManager.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/che-core-api-core/src/main/java/org/eclipse/che/api/core/jsonrpc/commons/RequestHandlerManager.java b/core/che-core-api-core/src/main/java/org/eclipse/che/api/core/jsonrpc/commons/RequestHandlerManager.java index 745c470d2cc..3b0bd464d0e 100644 --- a/core/che-core-api-core/src/main/java/org/eclipse/che/api/core/jsonrpc/commons/RequestHandlerManager.java +++ b/core/che-core-api-core/src/main/java/org/eclipse/che/api/core/jsonrpc/commons/RequestHandlerManager.java @@ -194,8 +194,10 @@ public synchronized boolean deregister(String method) { break; case NONE_TO_NONE: noneToNoneHandlers.remove(method); + break; case ONE_TO_PROMISE_ONE: oneToPromiseOneHandlers.remove(method); + break; } return true;