replace singletons

This commit is contained in:
2024-03-25 20:57:47 +01:00
committed by jbb01
parent eadf1eaf5b
commit 0477142233
10 changed files with 232 additions and 125 deletions

View File

@@ -14,7 +14,7 @@ import java.util.List;
public interface ChatBotSupportMXBean {
@SneakyThrows
static @NotNull ObjectName getObjectName(String name) {
static @NotNull ObjectName getObjectName(@NotNull String name) {
return ObjectName.getInstance(STR."eu.jonahbauer.chat.bot.server:component=ChatBots,name=\{quote(name)}");
}