Browse Source

refactoring: fixed initializeDummyData in Main to only be able to run once

remotes/origin/fdai7780
fdai7887 11 months ago
parent
commit
9fadf527fe
  1. 4
      src/main/java/org/example/Main.java

4
src/main/java/org/example/Main.java

@ -51,9 +51,9 @@ public class Main {
if(!DummyDataExists){
administration.initializeDummyData();
System.out.println("Dummy data initialized.");
DummyDataExists = true;
}
else{System.out.println("Dummy Data could already exists");}
else{System.out.println("Dummy Data already exists");}
break;
case 8:

Loading…
Cancel
Save