Änderungen in Persistenz

pull/30/head
Philipp Kotte 2023-10-11 17:27:43 +02:00
parent 330548712e
commit 89e0020191
1 changed files with 3 additions and 3 deletions

View File

@ -12,11 +12,11 @@ import java.io.*;
public class Persistenz {
final static String FILE_NAME = "WIZARD_DATA_";
final static String FILE_NAME = "WIZARD_DATA_";
public static boolean sindDatenVorhanden(String name){
public static boolean sindDatenVorhanden(String name) {
File f = new File(FILE_NAME + name + ".ser");
if(f.exists()){
if (f.exists()) {
return true;
}
return false;