summaryrefslogtreecommitdiff
path: root/src/main/java/com/keuin/kbackupfabric/util/PrintUtil.java
diff options
context:
space:
mode:
authorKeuin <[email protected]>2020-04-23 21:33:07 +0800
committerkeuin <[email protected]>2020-04-23 21:33:07 +0800
commit36451c24439b6fc0a407b3aae12048125539f8d5 (patch)
treee7382d2f10f7930a2ac048925110f6630323f597 /src/main/java/com/keuin/kbackupfabric/util/PrintUtil.java
parentf7f918f19b5d0597d21f03b7085425c3a93cc5f6 (diff)
1.2.0-dev:1.2.0-dev
- Optimized ZipUtil. - Added support for Asian characters (Chinese, Japanese, Korean) in backup name. - Add validate for backup name (in file name).
Diffstat (limited to 'src/main/java/com/keuin/kbackupfabric/util/PrintUtil.java')
-rw-r--r--src/main/java/com/keuin/kbackupfabric/util/PrintUtil.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/keuin/kbackupfabric/util/PrintUtil.java b/src/main/java/com/keuin/kbackupfabric/util/PrintUtil.java
index 4b93d17..de63037 100644
--- a/src/main/java/com/keuin/kbackupfabric/util/PrintUtil.java
+++ b/src/main/java/com/keuin/kbackupfabric/util/PrintUtil.java
@@ -52,7 +52,7 @@ public final class PrintUtil {
return message(context, messageText, broadcastToOps, errorStyle);
}
- public static CommandContext<ServerCommandSource> message(CommandContext<ServerCommandSource> context, String messageText, boolean broadcastToOps, Style style) {
+ private static CommandContext<ServerCommandSource> message(CommandContext<ServerCommandSource> context, String messageText, boolean broadcastToOps, Style style) {
synchronized (syncMessage) {
Text text = new LiteralText(messageText);
text.setStyle(style);