diff --git a/Infrastructure/Persistenz.java b/Infrastructure/Persistenz.java index 087cc3d..6f1d9a1 100644 --- a/Infrastructure/Persistenz.java +++ b/Infrastructure/Persistenz.java @@ -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;