From d3614fc59f0316d623f854812dfb78cf97c26607 Mon Sep 17 00:00:00 2001 From: rca Date: Sat, 6 Jul 2024 10:40:35 +0900 Subject: [PATCH] =?UTF-8?q?getHistory=E3=82=92=E4=BD=BF=E7=94=A8=E3=81=99?= =?UTF-8?q?=E3=82=8B=E6=A9=9F=E8=83=BD=E3=82=92=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../feature/debug/DebugCommandProcessor.java | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/feature/debug/src/main/java/one/nem/kidshift/feature/debug/DebugCommandProcessor.java b/feature/debug/src/main/java/one/nem/kidshift/feature/debug/DebugCommandProcessor.java index 51990e8..bef58b3 100644 --- a/feature/debug/src/main/java/one/nem/kidshift/feature/debug/DebugCommandProcessor.java +++ b/feature/debug/src/main/java/one/nem/kidshift/feature/debug/DebugCommandProcessor.java @@ -121,19 +121,7 @@ public class DebugCommandProcessor { commandArray = shiftArray(commandArray); switch (commandArray[0]) { case "get": - commandArray = shiftArray(commandArray); - switch (commandArray[0]) { - case "all": - List logs = ksLogger.getHistory(); - StringBuilder logString = new StringBuilder(); - for (LogModel log : logs) { - logString.append(log.getMessage()); - logString.append("\n"); - } - return logString.toString(); - default: - return "TODO"; - } + return "Removed for performance reasons"; case "insert": commandArray = shiftArray(commandArray); String[] logArray = Arrays.copyOfRange(commandArray, 1, commandArray.length);