Merge branch 'main' into lang_de
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>org.example</groupId>
|
||||
<artifactId>Widerhall</artifactId>
|
||||
<version>0.2.55</version>
|
||||
<version>0.2.56</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -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){
|
||||
LOG.info("…removing");
|
||||
Folder folder = message.getFolder();
|
||||
|
||||
Reference in New Issue
Block a user