updated logger type
This commit is contained in:
parent
149be757bb
commit
1c88da9883
1 changed files with 1 additions and 1 deletions
|
@ -36,9 +36,9 @@ public class Main {
|
|||
|
||||
SpeechIndexFactoryImpl speechIndexFactory = new SpeechIndexFactoryImpl();
|
||||
if (mongoDBHandler.getDatabase().getCollection(MongoPprUtils.SPEECH_COLLECTION_NAME).countDocuments() != 0) {
|
||||
System.out.println("Speeches werden nicht gelesen, da sie bereits in der Datenbank stehen");
|
||||
}
|
||||
else {
|
||||
Logger.info("Skipping Speech parsing and DB insertion as they are already present...");
|
||||
Logger.pink("Parsing XML and inserting data into DB (Uebung 2)...");
|
||||
SpeechIndex speechIndex = speechIndexFactory
|
||||
.parseLegislativePeriods(TRUE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue