From 71a1e28ee40adfc0a7e9a472d9928572e4cabc82 Mon Sep 17 00:00:00 2001 From: JJtan <95962077+JJtan2002@users.noreply.github.com> Date: Mon, 11 Nov 2024 21:51:06 +0800 Subject: [PATCH] Fix code quality by adding camelcase --- src/main/java/seedu/address/logic/CommandLog.java | 2 +- src/main/java/seedu/address/model/ModelManager.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/seedu/address/logic/CommandLog.java b/src/main/java/seedu/address/logic/CommandLog.java index d9f7afbb0ba..af86ec678ee 100644 --- a/src/main/java/seedu/address/logic/CommandLog.java +++ b/src/main/java/seedu/address/logic/CommandLog.java @@ -29,7 +29,7 @@ public Command getPreviousCommand() { /** * Adds a user input to the stack */ - public void addinput(String input) { + public void addInput(String input) { inputLog.push(input); } diff --git a/src/main/java/seedu/address/model/ModelManager.java b/src/main/java/seedu/address/model/ModelManager.java index 29ded97a13e..8e88ecc9943 100644 --- a/src/main/java/seedu/address/model/ModelManager.java +++ b/src/main/java/seedu/address/model/ModelManager.java @@ -182,7 +182,7 @@ public Command getPreviousCommand() { @Override public void addInputToLog(String input) { - commandLog.addinput(input); + commandLog.addInput(input); } @Override