Skip to content

Commit c37a46d

Browse files
committed
#135: trustAllHosts(boolean) should be public API
1 parent 7f2eaa1 commit c37a46d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/simplejavamail/mailer/MailerGenericBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ public T trustingSSLHosts(String... sslHostsToTrust) {
342342
*
343343
* @see #trustingSSLHosts(String...)
344344
*/
345-
private T trustingAllHosts(@Nonnull final Boolean trustAllHosts) {
345+
public T trustingAllHosts(@Nonnull final Boolean trustAllHosts) {
346346
this.trustAllSSLHost = trustAllHosts;
347347
return (T) this;
348348
}

0 commit comments

Comments
 (0)