Merge branch 'main' into lang_de

This commit is contained in:
2022-04-30 13:19:12 +02:00
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@
<groupId>org.example</groupId> <groupId>org.example</groupId>
<artifactId>Widerhall</artifactId> <artifactId>Widerhall</artifactId>
<version>0.2.55</version> <version>0.2.56</version>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>

View File

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