migrated and removed unnecessary logs
This commit is contained in:
parent
036e360e0d
commit
765ef4342b
2 changed files with 1 additions and 4 deletions
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue