writeData2 umbenannt in writeData()

This commit is contained in:
Madeleine Vigier 2022-12-07 12:14:54 +01:00
parent b8f0ebb121
commit c5c096dfa7

View File

@ -95,7 +95,7 @@ public class Data {
* @param pathWrite determines the filename of the file that will be written * @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 * @param listToWrite determines which ArrayList is to be used for writing the file
*/ */
public void writeData2 (String pathWrite, ArrayList<String> listToWrite){ public void writeData(String pathWrite, ArrayList<String> listToWrite){
if (pathWrite.equals("users.txt")) { if (pathWrite.equals("users.txt")) {
} else if (pathWrite.equals("orders.txt")) { } else if (pathWrite.equals("orders.txt")) {