bugfix in debug output

This commit is contained in:
2022-04-30 13:19:05 +02:00
parent 265ec4483f
commit 2508d5389c
2 changed files with 2 additions and 2 deletions

View File

@@ -154,7 +154,7 @@ public class ImapClient {
Date receivedDate = message.getReceivedDate();
Duration duration = Duration.between(receivedDate.toInstant(),now.toInstant());
var days = duration.toDays();
LOG.info("Message {} is {} days old!");
LOG.info("Message {} is {} days old!",days);
if (days > holdTime){
Folder folder = message.getFolder();
if (!folder.isOpen()) folder.open(Folder.READ_WRITE);