diff --git a/src/main/java/dev/sillyangel/calc/CalculatorHistory.java b/src/main/java/dev/sillyangel/calc/CalculatorHistory.java index 3bbb334..83decbb 100644 --- a/src/main/java/dev/sillyangel/calc/CalculatorHistory.java +++ b/src/main/java/dev/sillyangel/calc/CalculatorHistory.java @@ -27,7 +27,7 @@ public class CalculatorHistory { * Initializes the history file and directory structure. * Creates the directory and file if they don't exist, and loads existing history. */ - private void initializeHistoryFile() { + public void initializeHistoryFile() { try { // Create directory if it doesn't exist Path dir = Paths.get(HISTORY_DIR); @@ -75,7 +75,7 @@ public class CalculatorHistory { /** * Loads history from the file into memory. */ - private void loadHistory() { + public void loadHistory() { try { if (Files.exists(historyFilePath)) { List lines = Files.readAllLines(historyFilePath); @@ -134,5 +134,4 @@ public class CalculatorHistory { public String getHistoryFilePath() { return historyFilePath.toString(); } -} - +} \ No newline at end of file