Commit 94d8b527349f0a75a1563d026a8a2c8e869ba801

Authored by mfcb
1 parent 40460148

Fixed a small error.

# Conflicts:
#	services/MainBot/src/main/java/de/bht/beuthbot/scheduler/SchedulerBean.java
#	services/MainBot/src/main/java/de/bht/beuthbot/scheduler/model/Reminder.java
#	services/MainBot/src/main/resources/de/bht/beuthbot/drools/Canteen.drl
services/MainBot/src/main/resources/de/bht/beuthbot/drools/Canteen.drl
... ... @@ -138,7 +138,7 @@ rule "Create reminder"
138 138 TaskMessage message = new TaskMessage(m);
139 139 Reminder reminder = s.createReminder(message, user);
140 140 String messageText = "";
141   - if(reminder.getIntent().equals(Intent.SHOW_FOOD.getText())
  141 + if(reminder.getIntent().equals(Intent.SHOW_FOOD.getText())) {
142 142 messageText = "Ich werde dir " + DateStringExtractor.getGermanWeekDayFromLocalDate(reminder.getCycleDate().toLocalDate(), true) + " um " + reminder.getCycleDate().toLocalTime().format(DateTimeFormatter.ofPattern("HH:mm")) + " Uhr den Mensaplan mitteilen!";
143 143 } else {
144 144 messageText = "Es war mir leider nicht möglich eine Erinnerung für dich anzulegen. Versuche es bitte noch einmal.";
... ...