From c5c096dfa7e536ff04b91514bbffc934e9f99842 Mon Sep 17 00:00:00 2001 From: pbd2h21avi Date: Wed, 7 Dec 2022 12:14:54 +0100 Subject: [PATCH] writeData2 umbenannt in writeData() --- src/Data.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Data.java b/src/Data.java index 70f02d9..473f14b 100644 --- a/src/Data.java +++ b/src/Data.java @@ -95,7 +95,7 @@ public class Data { * @param pathWrite determines the filename of the file that will be written * @param listToWrite determines which ArrayList is to be used for writing the file */ - public void writeData2 (String pathWrite, ArrayList listToWrite){ + public void writeData(String pathWrite, ArrayList listToWrite){ if (pathWrite.equals("users.txt")) { } else if (pathWrite.equals("orders.txt")) {