fixed minor bugs, added import for From-Hell in Erfurt
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -286,14 +286,14 @@ public class MariaDB implements Database {
|
||||
try {
|
||||
extractCoords(results.getString(COORDS)).optional().ifPresent(appointment::coords);
|
||||
} catch (SQLException e) {
|
||||
LOG.log(WARNING, "Failed to read coordinates from database!");
|
||||
LOG.log(TRACE, "Result set did not cointain coords!");
|
||||
}
|
||||
|
||||
try {
|
||||
var tags = nullIfEmpty(results.getString("tags"));
|
||||
if (tags != null) appointment.tags(tags.split(","));
|
||||
} catch (SQLException e) {
|
||||
LOG.log(WARNING, "Failed to read tags from database!");
|
||||
LOG.log(TRACE, "Result set did not cointain tags!");
|
||||
}
|
||||
return Payload.of(appointment);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user