Skip to content

Commit

Permalink
Removed commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
UO289845 committed Apr 18, 2024
1 parent 31ec0e3 commit 55f709e
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions questionGenerator/src/main/java/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,23 @@ public class Main {
public static void main(String[] args) {
QuestionGenerator qg = new QuestionGenerator("en");

// run(qg, QuestionType.CAPITAL, 3);
// System.out.println();
run(qg, QuestionType.CAPITAL, 3);
System.out.println();

// run(qg, QuestionType.LANGUAGE, 3);
// System.out.println();
run(qg, QuestionType.LANGUAGE, 3);
System.out.println();

// run(qg, QuestionType.POPULATION, 3);
// System.out.println();
run(qg, QuestionType.POPULATION, 3);
System.out.println();

// run(qg, QuestionType.SIZE, 3);
// System.out.println();
run(qg, QuestionType.SIZE, 3);
System.out.println();

// run(qg, QuestionType.HEAD_OF_GOVERMENT, 3);
// System.out.println();
run(qg, QuestionType.HEAD_OF_GOVERMENT, 3);
System.out.println();

// run(qg, QuestionType.DIRECTOR, 3);
// System.out.println();
run(qg, QuestionType.DIRECTOR, 3);
System.out.println();

run(qg, QuestionType.VIDEOGAME_DEVELOPER, 3);
}
Expand All @@ -40,6 +40,6 @@ private static void run(QuestionGenerator qg, QuestionType type, int numberOfQue
question.setNumber(i);
System.out.println(question.getJSON().toString());
}
// QuestionRepository.getInstance().insert(questions.stream().map(q -> q.getJSON().toString()).toList());
QuestionRepository.getInstance().insert(questions.stream().map(q -> q.getJSON().toString()).toList());
}
}

0 comments on commit 55f709e

Please sign in to comment.