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")) {