diff --git a/src/main/java/org/texttechnologylab/project/gruppe_05_1/database/MongoPprUtils.java b/src/main/java/org/texttechnologylab/project/gruppe_05_1/database/MongoPprUtils.java index ae937b4..fd50cce 100644 --- a/src/main/java/org/texttechnologylab/project/gruppe_05_1/database/MongoPprUtils.java +++ b/src/main/java/org/texttechnologylab/project/gruppe_05_1/database/MongoPprUtils.java @@ -616,11 +616,8 @@ public class MongoPprUtils { * @return */ public static HtmlSpeech getSpeechByKey(String key) { - System.out.println(key); // TODO: remove when no longer needed Document filter = new Document("speechKey", key); Document speechDoc = getSpeechCollection().find(filter).first(); - System.out.println(getSpeechCollection().find().filter(Filters.eq("speechKey", key)).first()); // TODO: remove when no longer needed - System.out.println("SpeechDoc "+ speechDoc); // TODO: remove when no longer needed if (speechDoc == null) { Logger.error("Rede " + key + " nicht gefunden"); return null; diff --git a/src/main/java/org/texttechnologylab/project/gruppe_05_1/rest/FrontEndController.java b/src/main/java/org/texttechnologylab/project/gruppe_05_1/rest/FrontEndController.java index 4593a8d..e3cc361 100644 --- a/src/main/java/org/texttechnologylab/project/gruppe_05_1/rest/FrontEndController.java +++ b/src/main/java/org/texttechnologylab/project/gruppe_05_1/rest/FrontEndController.java @@ -211,7 +211,7 @@ public class FrontEndController { // No sentiment found: use a default sentiment with zero values sentimentObj = new Sentiment(0, 0, 0.0, 0.0, 0.0, 0.0); } - System.out.println("DEBUG: Speech Sentiment - " + sentimentObj); + Logger.debug("Speech Sentiment - " + sentimentObj); attributes.put("sentiment", sentimentObj); ctx.render("speech.ftl", attributes);