Upgrade to Angus mail 2.0.3

Closes gh-1546
This commit is contained in:
Stéphane Nicoll
2025-04-20 12:02:14 +02:00
parent e31c3cf2d0
commit aecfc48f3d
2 changed files with 3 additions and 3 deletions

View File

@@ -49,7 +49,7 @@ dependencies {
api("org.assertj:assertj-core:3.27.3")
api("org.dom4j:dom4j:2.1.4")
api("org.easymock:easymock:5.5.0")
api("org.eclipse.angus:angus-mail:1.1.0")
api("org.eclipse.angus:angus-mail:2.0.3")
api("org.glassfish.jaxb:jaxb-runtime:4.0.5")
api("org.igniterealtime.smack:smack-extensions:4.3.5")
api("org.igniterealtime.smack:smack-java7:4.3.5")

View File

@@ -16,13 +16,13 @@
package org.springframework.ws.transport.mail.monitor;
import com.sun.mail.imap.IMAPFolder;
import jakarta.mail.Folder;
import jakarta.mail.Message;
import jakarta.mail.MessagingException;
import jakarta.mail.event.MessageCountAdapter;
import jakarta.mail.event.MessageCountEvent;
import jakarta.mail.event.MessageCountListener;
import org.eclipse.angus.mail.imap.IMAPFolder;
import org.springframework.util.Assert;
@@ -31,7 +31,7 @@ import org.springframework.util.Assert;
* command for asynchronous message detection.
* <p>
* <b>Note</b> that this implementation is only suitable for use with IMAP servers which
* support the IDLE command. Additionally, this strategy requires JavaMail version 1.4.1.
* support the IDLE command.
*
* @author Arjen Poutsma
* @since 1.5.0