Skip to content

Commit a4d4089

Browse files
committed
Updated javadoc and log statement, nothing big [skip ci]
1 parent 87da476 commit a4d4089

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

modules/simple-java-mail/src/main/java/org/simplejavamail/mailer/internal/AbstractProxyServerSyncingClosure.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212

1313
/**
1414
* Starts and stops the authenticated proxy server when needed.
15+
* <p>
16+
* Note that this Runnable implementation is <strong>not</strong> thread related, it is just to encapsulate the code to
17+
* be run directly or from a <em>real</em> Runnable.
1518
*/
1619
public abstract class AbstractProxyServerSyncingClosure implements Runnable {
1720

@@ -50,7 +53,7 @@ private void startProxyServerIfNeeded() {
5053
if (proxyServer != null) {
5154
synchronized (proxyServer) {
5255
if (!proxyServer.isRunning()) {
53-
LOGGER.trace("starting proxy bridge");
56+
LOGGER.trace("starting proxy bridge...");
5457
proxyServer.start();
5558
}
5659
}

modules/simple-java-mail/src/main/java/org/simplejavamail/mailer/internal/util/TransportConnectionHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class TransportConnectionHelper {
1616
* providing password. Instead, <em>mail.smtp.auth.mechanisms</em> is set to {@code "XOAUTH2"} and the built-in OAuth2 Security Provider should take over and use the
1717
* token as the password, and that is only possible using the alternative {@link Transport#connect(String, String)}.
1818
*
19-
* @see <a href="https://javaee.github.io/javamail/OAuth2">https://javaee.github.io/javamail/OAuth2</a>
19+
* @see <a href="https://eclipse-ee4j.github.io/angus-mail/OAuth2">https://eclipse-ee4j.github.io/angus-mail/OAuth2</a>
2020
*/
2121
public static void connectTransport(Transport transport, Session session) throws MessagingException {
2222
if (session.getProperties().containsKey(TransportStrategy.OAUTH2_TOKEN_PROPERTY)) {

0 commit comments

Comments
 (0)