Return-Path: X-Original-To: apmail-commons-commits-archive@minotaur.apache.org Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BB9B1D9D9 for ; Sat, 5 Jan 2013 20:52:05 +0000 (UTC) Received: (qmail 65062 invoked by uid 500); 5 Jan 2013 20:52:05 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 65014 invoked by uid 500); 5 Jan 2013 20:52:05 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 65007 invoked by uid 99); 5 Jan 2013 20:52:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Jan 2013 20:52:05 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Jan 2013 20:52:04 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id AC15723888CD; Sat, 5 Jan 2013 20:51:44 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1429384 - /commons/proper/email/trunk/src/main/java/org/apache/commons/mail/Email.java Date: Sat, 05 Jan 2013 20:51:44 -0000 To: commits@commons.apache.org From: tn@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130105205144.AC15723888CD@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: tn Date: Sat Jan 5 20:51:44 2013 New Revision: 1429384 URL: http://svn.apache.org/viewvc?rev=1429384&view=rev Log: Added missing since tags. Modified: commons/proper/email/trunk/src/main/java/org/apache/commons/mail/Email.java Modified: commons/proper/email/trunk/src/main/java/org/apache/commons/mail/Email.java URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/src/main/java/org/apache/commons/mail/Email.java?rev=1429384&r1=1429383&r2=1429384&view=diff ============================================================================== --- commons/proper/email/trunk/src/main/java/org/apache/commons/mail/Email.java (original) +++ commons/proper/email/trunk/src/main/java/org/apache/commons/mail/Email.java Sat Jan 5 20:51:44 2013 @@ -493,6 +493,7 @@ public abstract class Email * * @param startTlsEnabled true if STARTTLS requested, false otherwise * @return An Email. + * @since 1.3 */ public Email setStartTLSEnabled(boolean startTlsEnabled) { @@ -507,6 +508,7 @@ public abstract class Email * * @param startTlsRequired true if STARTTLS requested, false otherwise * @return An Email. + * @since 1.3 */ public Email setStartTLSRequired(boolean startTlsRequired) { @@ -774,6 +776,7 @@ public abstract class Email * @param emails A String array. * @throws EmailException Indicates an invalid email address. * @return An Email. + * @since 1.3 */ public Email addTo(String... emails) throws EmailException @@ -883,6 +886,7 @@ public abstract class Email * @param emails A String array. * @return An Email. * @throws EmailException Indicates an invalid email address. + * @since 1.3 */ public Email addCc(String... emails) throws EmailException @@ -991,6 +995,7 @@ public abstract class Email * @param emails A String array. * @return An Email. * @throws EmailException Indicates an invalid email address + * @since 1.3 */ public Email addBcc(String... emails) throws EmailException @@ -1509,6 +1514,7 @@ public abstract class Email * Gets whether the client is configured to require STARTTLS. * * @return true if using STARTTLS for authentication, false otherwise + * @since 1.3 */ public boolean isStartTLSRequired() { @@ -1519,6 +1525,7 @@ public abstract class Email * Gets whether the client is configured to try to enable STARTTLS. * * @return true if using STARTTLS for authentication, false otherwise + * @since 1.3 */ public boolean isStartTLSEnabled() { @@ -1529,7 +1536,7 @@ public abstract class Email * Gets whether the client is configured to try to enable STARTTLS. * See EMAIL-105 for reason of deprecation. * - * @deprecated since 1.3 + * @deprecated since 1.3, use isStartTLSEnabled() instead * @return true if using STARTTLS for authentication, false otherwise * @since 1.1 */ @@ -1592,6 +1599,7 @@ public abstract class Email * Returns whether SSL/TLS encryption for the transport is currently enabled (SMTPS/POPS). * * @return true if SSL enabled for the transport + * @since 1.3 */ public boolean isSSLOnConnect() { @@ -1616,6 +1624,7 @@ public abstract class Email * * @param ssl whether to enable the SSL transport * @return An Email. + * @since 1.3 */ public Email setSSLOnConnect(boolean ssl) { @@ -1629,6 +1638,7 @@ public abstract class Email * Is the server identity checked as specified by RFC 2595 * * @return true if the server identity is checked + * @since 1.3 */ public boolean isSSLCheckServerIdentity() { @@ -1640,6 +1650,7 @@ public abstract class Email * * @param sslCheckServerIdentity whether to enable server identity check * @return An Email. + * @since 1.3 */ public Email setSSLCheckServerIdentity(boolean sslCheckServerIdentity) {