From 996e4e16b3f6f8d5f7b9fb56a45ea448d20082a9 Mon Sep 17 00:00:00 2001 From: gazbert Date: Sat, 27 Apr 2024 17:07:25 +0100 Subject: [PATCH] #164 : Intellisense cleanup for bxbot-services --- .../bxbot/services/runtime/impl/BotRestartServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bxbot-services/src/main/java/com/gazbert/bxbot/services/runtime/impl/BotRestartServiceImpl.java b/bxbot-services/src/main/java/com/gazbert/bxbot/services/runtime/impl/BotRestartServiceImpl.java index 95c7da1e..495f25ce 100644 --- a/bxbot-services/src/main/java/com/gazbert/bxbot/services/runtime/impl/BotRestartServiceImpl.java +++ b/bxbot-services/src/main/java/com/gazbert/bxbot/services/runtime/impl/BotRestartServiceImpl.java @@ -53,8 +53,8 @@ public BotRestartServiceImpl(RestartEndpoint restartEndpoint) { @Override public String restart() { - // Spring endpoint returns a map: Collections.singletonMap("message", "Restarting"); - final Map result = (Map) restartEndpoint.restart(); + // Spring endpoint currently returns a map: Collections.singletonMap("message", "Restarting"); + final Map result = (Map) restartEndpoint.restart(); final String status = (String) result.get("message"); log.info("Restart result: " + status); return status;