Skip to content
This repository was archived by the owner on Feb 20, 2020. It is now read-only.

Commit a168d98

Browse files
committed
Fix protocol names for service loader providers.
1 parent c4e604d commit a168d98

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

gimap/src/main/java/com/sun/mail/gimap/GmailSSLProvider.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
*/
4848
public class GmailSSLProvider extends Provider {
4949
public GmailSSLProvider() {
50-
super(Provider.Type.STORE, "gimap", GmailSSLStore.class.getName(),
50+
super(Provider.Type.STORE, "gimaps", GmailSSLStore.class.getName(),
5151
"Oracle", null);
5252
}
5353
}

mail/src/main/java/com/sun/mail/pop3/POP3SSLProvider.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
*/
4949
public class POP3SSLProvider extends Provider {
5050
public POP3SSLProvider() {
51-
super(Provider.Type.STORE, "pop3", POP3SSLStore.class.getName(),
51+
super(Provider.Type.STORE, "pop3s", POP3SSLStore.class.getName(),
5252
"Oracle", null);
5353
}
5454
}

mail/src/main/java/com/sun/mail/smtp/SMTPSSLProvider.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
*/
4949
public class SMTPSSLProvider extends Provider {
5050
public SMTPSSLProvider() {
51-
super(Provider.Type.TRANSPORT, "smtp",
51+
super(Provider.Type.TRANSPORT, "smtps",
5252
SMTPSSLTransport.class.getName(), "Oracle", null);
5353
}
5454
}

0 commit comments

Comments
 (0)