Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.util.HtmlUtils;

@Slf4j
// TODO move back to lesson
Expand Down Expand Up @@ -46,7 +47,7 @@ private void readObject(ObjectInputStream stream) throws Exception {
stream.defaultReadObject();

// do something with the data
log.info("restoring task: {}", taskName);
log.info("restoring task: {}", HtmlUtils.htmlEscape(String.valueOf(taskName).replace("\n", "").replace("\r", "")));
log.info("restoring time: {}", requestedExecutionTime);

if (requestedExecutionTime != null
Expand Down