From 597cc299f02ae4b9577d9cccc5653570fedca639 Mon Sep 17 00:00:00 2001 From: Keuin Date: Thu, 23 Apr 2020 15:11:05 +0800 Subject: Optimize code redundancy. --- src/main/java/com/keuin/kbackupfabric/util/PrintUtil.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/com/keuin/kbackupfabric/util/PrintUtil.java') diff --git a/src/main/java/com/keuin/kbackupfabric/util/PrintUtil.java b/src/main/java/com/keuin/kbackupfabric/util/PrintUtil.java index e76155f..8c8a687 100644 --- a/src/main/java/com/keuin/kbackupfabric/util/PrintUtil.java +++ b/src/main/java/com/keuin/kbackupfabric/util/PrintUtil.java @@ -17,8 +17,8 @@ public final class PrintUtil { private static final Object syncInfo = new Object(); private static final Object syncMessage = new Object(); - public static CommandContext message(CommandContext context, String messageText) { - return message(context, messageText, false); + public static void message(CommandContext context, String messageText) { + message(context, messageText, false); } public static CommandContext message(CommandContext context, String messageText, boolean broadcastToOps) { -- cgit v1.2.3