Skip to content

Commit 996e4e1

Browse files
committed
#164 : Intellisense cleanup for bxbot-services
1 parent c177e99 commit 996e4e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bxbot-services/src/main/java/com/gazbert/bxbot/services/runtime/impl/BotRestartServiceImpl.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ public BotRestartServiceImpl(RestartEndpoint restartEndpoint) {
5353

5454
@Override
5555
public String restart() {
56-
// Spring endpoint returns a map: Collections.singletonMap("message", "Restarting");
57-
final Map result = (Map) restartEndpoint.restart();
56+
// Spring endpoint currently returns a map: Collections.singletonMap("message", "Restarting");
57+
final Map<?, ?> result = (Map<?, ?>) restartEndpoint.restart();
5858
final String status = (String) result.get("message");
5959
log.info("Restart result: " + status);
6060
return status;

0 commit comments

Comments
 (0)