commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r915608 [4/34] - in /websites/production/commons/content/proper/commons-email: ./ apidocs/ apidocs/org/apache/commons/mail/ apidocs/org/apache/commons/mail/class-use/ apidocs/org/apache/commons/mail/resolver/ apidocs/org/apache/commons/mail...
Date Wed, 09 Jul 2014 20:46:28 GMT
Modified: websites/production/commons/content/proper/commons-email/apidocs/src-html/org/apache/commons/mail/Email.html
==============================================================================
--- websites/production/commons/content/proper/commons-email/apidocs/src-html/org/apache/commons/mail/Email.html (original)
+++ websites/production/commons/content/proper/commons-email/apidocs/src-html/org/apache/commons/mail/Email.html Wed Jul  9 20:46:21 2014
@@ -57,7 +57,7 @@
 <span class="sourceLineNo">049</span> * Subclasses are responsible for setting the message body.<a name="line.49"></a>
 <span class="sourceLineNo">050</span> *<a name="line.50"></a>
 <span class="sourceLineNo">051</span> * @since 1.0<a name="line.51"></a>
-<span class="sourceLineNo">052</span> * @version $Id: Email.java 1563555 2014-02-02 02:51:10Z ggregory $<a name="line.52"></a>
+<span class="sourceLineNo">052</span> * @version $Id: Email.java 1606709 2014-06-30 12:26:06Z ggregory $<a name="line.52"></a>
 <span class="sourceLineNo">053</span> */<a name="line.53"></a>
 <span class="sourceLineNo">054</span>public abstract class Email<a name="line.54"></a>
 <span class="sourceLineNo">055</span>{<a name="line.55"></a>
@@ -338,7 +338,7 @@
 <span class="sourceLineNo">330</span>     * @param d A boolean.<a name="line.330"></a>
 <span class="sourceLineNo">331</span>     * @since 1.0<a name="line.331"></a>
 <span class="sourceLineNo">332</span>     */<a name="line.332"></a>
-<span class="sourceLineNo">333</span>    public void setDebug(boolean d)<a name="line.333"></a>
+<span class="sourceLineNo">333</span>    public void setDebug(final boolean d)<a name="line.333"></a>
 <span class="sourceLineNo">334</span>    {<a name="line.334"></a>
 <span class="sourceLineNo">335</span>        this.debug = d;<a name="line.335"></a>
 <span class="sourceLineNo">336</span>    }<a name="line.336"></a>
@@ -356,7 +356,7 @@
 <span class="sourceLineNo">348</span>     * @see #setAuthenticator<a name="line.348"></a>
 <span class="sourceLineNo">349</span>     * @since 1.0<a name="line.349"></a>
 <span class="sourceLineNo">350</span>     */<a name="line.350"></a>
-<span class="sourceLineNo">351</span>    public void setAuthentication(String userName, String password)<a name="line.351"></a>
+<span class="sourceLineNo">351</span>    public void setAuthentication(final String userName, final String password)<a name="line.351"></a>
 <span class="sourceLineNo">352</span>    {<a name="line.352"></a>
 <span class="sourceLineNo">353</span>        this.setAuthenticator(new DefaultAuthenticator(userName, password));<a name="line.353"></a>
 <span class="sourceLineNo">354</span>    }<a name="line.354"></a>
@@ -372,7 +372,7 @@
 <span class="sourceLineNo">364</span>     * @see Authenticator<a name="line.364"></a>
 <span class="sourceLineNo">365</span>     * @since 1.0<a name="line.365"></a>
 <span class="sourceLineNo">366</span>     */<a name="line.366"></a>
-<span class="sourceLineNo">367</span>    public void setAuthenticator(Authenticator newAuthenticator)<a name="line.367"></a>
+<span class="sourceLineNo">367</span>    public void setAuthenticator(final Authenticator newAuthenticator)<a name="line.367"></a>
 <span class="sourceLineNo">368</span>    {<a name="line.368"></a>
 <span class="sourceLineNo">369</span>        this.authenticator = newAuthenticator;<a name="line.369"></a>
 <span class="sourceLineNo">370</span>    }<a name="line.370"></a>
@@ -387,9 +387,9 @@
 <span class="sourceLineNo">379</span>     * exists in the current JVM<a name="line.379"></a>
 <span class="sourceLineNo">380</span>     * @since 1.0<a name="line.380"></a>
 <span class="sourceLineNo">381</span>     */<a name="line.381"></a>
-<span class="sourceLineNo">382</span>    public void setCharset(String newCharset)<a name="line.382"></a>
+<span class="sourceLineNo">382</span>    public void setCharset(final String newCharset)<a name="line.382"></a>
 <span class="sourceLineNo">383</span>    {<a name="line.383"></a>
-<span class="sourceLineNo">384</span>        Charset set = Charset.forName(newCharset);<a name="line.384"></a>
+<span class="sourceLineNo">384</span>        final Charset set = Charset.forName(newCharset);<a name="line.384"></a>
 <span class="sourceLineNo">385</span>        this.charset = set.name();<a name="line.385"></a>
 <span class="sourceLineNo">386</span>    }<a name="line.386"></a>
 <span class="sourceLineNo">387</span><a name="line.387"></a>
@@ -399,7 +399,7 @@
 <span class="sourceLineNo">391</span>     * @param aMimeMultipart aMimeMultipart<a name="line.391"></a>
 <span class="sourceLineNo">392</span>     * @since 1.0<a name="line.392"></a>
 <span class="sourceLineNo">393</span>     */<a name="line.393"></a>
-<span class="sourceLineNo">394</span>    public void setContent(MimeMultipart aMimeMultipart)<a name="line.394"></a>
+<span class="sourceLineNo">394</span>    public void setContent(final MimeMultipart aMimeMultipart)<a name="line.394"></a>
 <span class="sourceLineNo">395</span>    {<a name="line.395"></a>
 <span class="sourceLineNo">396</span>        this.emailBody = aMimeMultipart;<a name="line.396"></a>
 <span class="sourceLineNo">397</span>    }<a name="line.397"></a>
@@ -411,7 +411,7 @@
 <span class="sourceLineNo">403</span>     * @param   aContentType aContentType<a name="line.403"></a>
 <span class="sourceLineNo">404</span>     * @since 1.0<a name="line.404"></a>
 <span class="sourceLineNo">405</span>     */<a name="line.405"></a>
-<span class="sourceLineNo">406</span>    public void setContent(Object aObject, String aContentType)<a name="line.406"></a>
+<span class="sourceLineNo">406</span>    public void setContent(final Object aObject, final String aContentType)<a name="line.406"></a>
 <span class="sourceLineNo">407</span>    {<a name="line.407"></a>
 <span class="sourceLineNo">408</span>        this.content = aObject;<a name="line.408"></a>
 <span class="sourceLineNo">409</span>        this.updateContentType(aContentType);<a name="line.409"></a>
@@ -435,14 +435,14 @@
 <span class="sourceLineNo">427</span>            this.contentType = aContentType;<a name="line.427"></a>
 <span class="sourceLineNo">428</span><a name="line.428"></a>
 <span class="sourceLineNo">429</span>            // set the charset if the input was properly formed<a name="line.429"></a>
-<span class="sourceLineNo">430</span>            String strMarker = "; charset=";<a name="line.430"></a>
+<span class="sourceLineNo">430</span>            final String strMarker = "; charset=";<a name="line.430"></a>
 <span class="sourceLineNo">431</span>            int charsetPos = aContentType.toLowerCase().indexOf(strMarker);<a name="line.431"></a>
 <span class="sourceLineNo">432</span><a name="line.432"></a>
 <span class="sourceLineNo">433</span>            if (charsetPos != -1)<a name="line.433"></a>
 <span class="sourceLineNo">434</span>            {<a name="line.434"></a>
 <span class="sourceLineNo">435</span>                // find the next space (after the marker)<a name="line.435"></a>
 <span class="sourceLineNo">436</span>                charsetPos += strMarker.length();<a name="line.436"></a>
-<span class="sourceLineNo">437</span>                int intCharsetEnd =<a name="line.437"></a>
+<span class="sourceLineNo">437</span>                final int intCharsetEnd =<a name="line.437"></a>
 <span class="sourceLineNo">438</span>                    aContentType.toLowerCase().indexOf(" ", charsetPos);<a name="line.438"></a>
 <span class="sourceLineNo">439</span><a name="line.439"></a>
 <span class="sourceLineNo">440</span>                if (intCharsetEnd != -1)<a name="line.440"></a>
@@ -461,7 +461,7 @@
 <span class="sourceLineNo">453</span>                // whose content-type is some form of text.<a name="line.453"></a>
 <span class="sourceLineNo">454</span>                if (this.contentType.startsWith("text/") &amp;&amp; EmailUtils.isNotEmpty(this.charset))<a name="line.454"></a>
 <span class="sourceLineNo">455</span>                {<a name="line.455"></a>
-<span class="sourceLineNo">456</span>                    StringBuffer contentTypeBuf = new StringBuffer(this.contentType);<a name="line.456"></a>
+<span class="sourceLineNo">456</span>                    final StringBuffer contentTypeBuf = new StringBuffer(this.contentType);<a name="line.456"></a>
 <span class="sourceLineNo">457</span>                    contentTypeBuf.append(strMarker);<a name="line.457"></a>
 <span class="sourceLineNo">458</span>                    contentTypeBuf.append(this.charset);<a name="line.458"></a>
 <span class="sourceLineNo">459</span>                    this.contentType = contentTypeBuf.toString();<a name="line.459"></a>
@@ -476,7 +476,7 @@
 <span class="sourceLineNo">468</span>     * @param   aHostName aHostName<a name="line.468"></a>
 <span class="sourceLineNo">469</span>     * @since 1.0<a name="line.469"></a>
 <span class="sourceLineNo">470</span>     */<a name="line.470"></a>
-<span class="sourceLineNo">471</span>    public void setHostName(String aHostName)<a name="line.471"></a>
+<span class="sourceLineNo">471</span>    public void setHostName(final String aHostName)<a name="line.471"></a>
 <span class="sourceLineNo">472</span>    {<a name="line.472"></a>
 <span class="sourceLineNo">473</span>        checkSessionAlreadyInitialized();<a name="line.473"></a>
 <span class="sourceLineNo">474</span>        this.hostName = aHostName;<a name="line.474"></a>
@@ -491,7 +491,7 @@
 <span class="sourceLineNo">483</span>     * @since 1.1<a name="line.483"></a>
 <span class="sourceLineNo">484</span>     */<a name="line.484"></a>
 <span class="sourceLineNo">485</span>    @Deprecated<a name="line.485"></a>
-<span class="sourceLineNo">486</span>    public void setTLS(boolean withTLS)<a name="line.486"></a>
+<span class="sourceLineNo">486</span>    public void setTLS(final boolean withTLS)<a name="line.486"></a>
 <span class="sourceLineNo">487</span>    {<a name="line.487"></a>
 <span class="sourceLineNo">488</span>        setStartTLSEnabled(withTLS);<a name="line.488"></a>
 <span class="sourceLineNo">489</span>    }<a name="line.489"></a>
@@ -503,7 +503,7 @@
 <span class="sourceLineNo">495</span>     * @return An Email.<a name="line.495"></a>
 <span class="sourceLineNo">496</span>     * @since 1.3<a name="line.496"></a>
 <span class="sourceLineNo">497</span>     */<a name="line.497"></a>
-<span class="sourceLineNo">498</span>    public Email setStartTLSEnabled(boolean startTlsEnabled)<a name="line.498"></a>
+<span class="sourceLineNo">498</span>    public Email setStartTLSEnabled(final boolean startTlsEnabled)<a name="line.498"></a>
 <span class="sourceLineNo">499</span>    {<a name="line.499"></a>
 <span class="sourceLineNo">500</span>        checkSessionAlreadyInitialized();<a name="line.500"></a>
 <span class="sourceLineNo">501</span>        this.startTlsEnabled = startTlsEnabled;<a name="line.501"></a>
@@ -518,7 +518,7 @@
 <span class="sourceLineNo">510</span>     * @return An Email.<a name="line.510"></a>
 <span class="sourceLineNo">511</span>     * @since 1.3<a name="line.511"></a>
 <span class="sourceLineNo">512</span>     */<a name="line.512"></a>
-<span class="sourceLineNo">513</span>    public Email setStartTLSRequired(boolean startTlsRequired)<a name="line.513"></a>
+<span class="sourceLineNo">513</span>    public Email setStartTLSRequired(final boolean startTlsRequired)<a name="line.513"></a>
 <span class="sourceLineNo">514</span>    {<a name="line.514"></a>
 <span class="sourceLineNo">515</span>        checkSessionAlreadyInitialized();<a name="line.515"></a>
 <span class="sourceLineNo">516</span>        this.startTlsRequired = startTlsRequired;<a name="line.516"></a>
@@ -532,7 +532,7 @@
 <span class="sourceLineNo">524</span>     * @throws IllegalArgumentException if the port number is &amp;lt; 1<a name="line.524"></a>
 <span class="sourceLineNo">525</span>     * @since 1.0<a name="line.525"></a>
 <span class="sourceLineNo">526</span>     */<a name="line.526"></a>
-<span class="sourceLineNo">527</span>    public void setSmtpPort(int aPortNumber)<a name="line.527"></a>
+<span class="sourceLineNo">527</span>    public void setSmtpPort(final int aPortNumber)<a name="line.527"></a>
 <span class="sourceLineNo">528</span>    {<a name="line.528"></a>
 <span class="sourceLineNo">529</span>        checkSessionAlreadyInitialized();<a name="line.529"></a>
 <span class="sourceLineNo">530</span><a name="line.530"></a>
@@ -561,17 +561,17 @@
 <span class="sourceLineNo">553</span>     * @throws IllegalArgumentException if the session is {@code null}<a name="line.553"></a>
 <span class="sourceLineNo">554</span>     * @since 1.0<a name="line.554"></a>
 <span class="sourceLineNo">555</span>     */<a name="line.555"></a>
-<span class="sourceLineNo">556</span>    public void setMailSession(Session aSession)<a name="line.556"></a>
+<span class="sourceLineNo">556</span>    public void setMailSession(final Session aSession)<a name="line.556"></a>
 <span class="sourceLineNo">557</span>    {<a name="line.557"></a>
 <span class="sourceLineNo">558</span>        EmailUtils.notNull(aSession, "no mail session supplied");<a name="line.558"></a>
 <span class="sourceLineNo">559</span><a name="line.559"></a>
-<span class="sourceLineNo">560</span>        Properties sessionProperties = aSession.getProperties();<a name="line.560"></a>
-<span class="sourceLineNo">561</span>        String auth = sessionProperties.getProperty(MAIL_SMTP_AUTH);<a name="line.561"></a>
+<span class="sourceLineNo">560</span>        final Properties sessionProperties = aSession.getProperties();<a name="line.560"></a>
+<span class="sourceLineNo">561</span>        final String auth = sessionProperties.getProperty(MAIL_SMTP_AUTH);<a name="line.561"></a>
 <span class="sourceLineNo">562</span><a name="line.562"></a>
 <span class="sourceLineNo">563</span>        if ("true".equalsIgnoreCase(auth))<a name="line.563"></a>
 <span class="sourceLineNo">564</span>        {<a name="line.564"></a>
-<span class="sourceLineNo">565</span>            String userName = sessionProperties.getProperty(MAIL_SMTP_USER);<a name="line.565"></a>
-<span class="sourceLineNo">566</span>            String password = sessionProperties.getProperty(MAIL_SMTP_PASSWORD);<a name="line.566"></a>
+<span class="sourceLineNo">565</span>            final String userName = sessionProperties.getProperty(MAIL_SMTP_USER);<a name="line.565"></a>
+<span class="sourceLineNo">566</span>            final String password = sessionProperties.getProperty(MAIL_SMTP_PASSWORD);<a name="line.566"></a>
 <span class="sourceLineNo">567</span><a name="line.567"></a>
 <span class="sourceLineNo">568</span>            if (EmailUtils.isNotEmpty(userName) &amp;&amp; EmailUtils.isNotEmpty(password))<a name="line.568"></a>
 <span class="sourceLineNo">569</span>            {<a name="line.569"></a>
@@ -601,7 +601,7 @@
 <span class="sourceLineNo">593</span>     * @throws NamingException if the resource cannot be retrieved from JNDI directory<a name="line.593"></a>
 <span class="sourceLineNo">594</span>     * @since 1.1<a name="line.594"></a>
 <span class="sourceLineNo">595</span>     */<a name="line.595"></a>
-<span class="sourceLineNo">596</span>    public void setMailSessionFromJNDI(String jndiName) throws NamingException<a name="line.596"></a>
+<span class="sourceLineNo">596</span>    public void setMailSessionFromJNDI(final String jndiName) throws NamingException<a name="line.596"></a>
 <span class="sourceLineNo">597</span>    {<a name="line.597"></a>
 <span class="sourceLineNo">598</span>        if (EmailUtils.isEmpty(jndiName))<a name="line.598"></a>
 <span class="sourceLineNo">599</span>        {<a name="line.599"></a>
@@ -634,7 +634,7 @@
 <span class="sourceLineNo">626</span>    {<a name="line.626"></a>
 <span class="sourceLineNo">627</span>        if (this.session == null)<a name="line.627"></a>
 <span class="sourceLineNo">628</span>        {<a name="line.628"></a>
-<span class="sourceLineNo">629</span>            Properties properties = new Properties(System.getProperties());<a name="line.629"></a>
+<span class="sourceLineNo">629</span>            final Properties properties = new Properties(System.getProperties());<a name="line.629"></a>
 <span class="sourceLineNo">630</span>            properties.setProperty(MAIL_TRANSPORT_PROTOCOL, SMTP);<a name="line.630"></a>
 <span class="sourceLineNo">631</span><a name="line.631"></a>
 <span class="sourceLineNo">632</span>            if (EmailUtils.isEmpty(this.hostName))<a name="line.632"></a>
@@ -714,7 +714,7 @@
 <span class="sourceLineNo">706</span>     * @throws EmailException Indicates an invalid email address.<a name="line.706"></a>
 <span class="sourceLineNo">707</span>     * @since 1.0<a name="line.707"></a>
 <span class="sourceLineNo">708</span>     */<a name="line.708"></a>
-<span class="sourceLineNo">709</span>    public Email setFrom(String email)<a name="line.709"></a>
+<span class="sourceLineNo">709</span>    public Email setFrom(final String email)<a name="line.709"></a>
 <span class="sourceLineNo">710</span>        throws EmailException<a name="line.710"></a>
 <span class="sourceLineNo">711</span>    {<a name="line.711"></a>
 <span class="sourceLineNo">712</span>        return setFrom(email, null);<a name="line.712"></a>
@@ -734,7 +734,7 @@
 <span class="sourceLineNo">726</span>     * @throws EmailException Indicates an invalid email address.<a name="line.726"></a>
 <span class="sourceLineNo">727</span>     * @since 1.0<a name="line.727"></a>
 <span class="sourceLineNo">728</span>     */<a name="line.728"></a>
-<span class="sourceLineNo">729</span>    public Email setFrom(String email, String name)<a name="line.729"></a>
+<span class="sourceLineNo">729</span>    public Email setFrom(final String email, final String name)<a name="line.729"></a>
 <span class="sourceLineNo">730</span>        throws EmailException<a name="line.730"></a>
 <span class="sourceLineNo">731</span>    {<a name="line.731"></a>
 <span class="sourceLineNo">732</span>        return setFrom(email, name, this.charset);<a name="line.732"></a>
@@ -751,7 +751,7 @@
 <span class="sourceLineNo">743</span>     * @throws EmailException Indicates an invalid email address or charset.<a name="line.743"></a>
 <span class="sourceLineNo">744</span>     * @since 1.1<a name="line.744"></a>
 <span class="sourceLineNo">745</span>     */<a name="line.745"></a>
-<span class="sourceLineNo">746</span>    public Email setFrom(String email, String name, String charset)<a name="line.746"></a>
+<span class="sourceLineNo">746</span>    public Email setFrom(final String email, final String name, final String charset)<a name="line.746"></a>
 <span class="sourceLineNo">747</span>        throws EmailException<a name="line.747"></a>
 <span class="sourceLineNo">748</span>    {<a name="line.748"></a>
 <span class="sourceLineNo">749</span>        this.fromAddress = createInternetAddress(email, name, charset);<a name="line.749"></a>
@@ -772,7 +772,7 @@
 <span class="sourceLineNo">764</span>     * @throws EmailException Indicates an invalid email address.<a name="line.764"></a>
 <span class="sourceLineNo">765</span>     * @since 1.0<a name="line.765"></a>
 <span class="sourceLineNo">766</span>     */<a name="line.766"></a>
-<span class="sourceLineNo">767</span>    public Email addTo(String email)<a name="line.767"></a>
+<span class="sourceLineNo">767</span>    public Email addTo(final String email)<a name="line.767"></a>
 <span class="sourceLineNo">768</span>        throws EmailException<a name="line.768"></a>
 <span class="sourceLineNo">769</span>    {<a name="line.769"></a>
 <span class="sourceLineNo">770</span>        return addTo(email, null);<a name="line.770"></a>
@@ -792,7 +792,7 @@
 <span class="sourceLineNo">784</span>     * @throws EmailException Indicates an invalid email address.<a name="line.784"></a>
 <span class="sourceLineNo">785</span>     * @since 1.3<a name="line.785"></a>
 <span class="sourceLineNo">786</span>     */<a name="line.786"></a>
-<span class="sourceLineNo">787</span>    public Email addTo(String... emails)<a name="line.787"></a>
+<span class="sourceLineNo">787</span>    public Email addTo(final String... emails)<a name="line.787"></a>
 <span class="sourceLineNo">788</span>        throws EmailException<a name="line.788"></a>
 <span class="sourceLineNo">789</span>    {<a name="line.789"></a>
 <span class="sourceLineNo">790</span>        if (emails == null || emails.length == 0)<a name="line.790"></a>
@@ -800,7 +800,7 @@
 <span class="sourceLineNo">792</span>            throw new EmailException("Address List provided was invalid");<a name="line.792"></a>
 <span class="sourceLineNo">793</span>        }<a name="line.793"></a>
 <span class="sourceLineNo">794</span><a name="line.794"></a>
-<span class="sourceLineNo">795</span>        for (String email : emails)<a name="line.795"></a>
+<span class="sourceLineNo">795</span>        for (final String email : emails)<a name="line.795"></a>
 <span class="sourceLineNo">796</span>        {<a name="line.796"></a>
 <span class="sourceLineNo">797</span>            addTo(email, null);<a name="line.797"></a>
 <span class="sourceLineNo">798</span>        }<a name="line.798"></a>
@@ -823,7 +823,7 @@
 <span class="sourceLineNo">815</span>     * @throws EmailException Indicates an invalid email address.<a name="line.815"></a>
 <span class="sourceLineNo">816</span>     * @since 1.0<a name="line.816"></a>
 <span class="sourceLineNo">817</span>     */<a name="line.817"></a>
-<span class="sourceLineNo">818</span>    public Email addTo(String email, String name)<a name="line.818"></a>
+<span class="sourceLineNo">818</span>    public Email addTo(final String email, final String name)<a name="line.818"></a>
 <span class="sourceLineNo">819</span>        throws EmailException<a name="line.819"></a>
 <span class="sourceLineNo">820</span>    {<a name="line.820"></a>
 <span class="sourceLineNo">821</span>        return addTo(email, name, this.charset);<a name="line.821"></a>
@@ -840,7 +840,7 @@
 <span class="sourceLineNo">832</span>     * @throws EmailException Indicates an invalid email address or charset.<a name="line.832"></a>
 <span class="sourceLineNo">833</span>     * @since 1.1<a name="line.833"></a>
 <span class="sourceLineNo">834</span>     */<a name="line.834"></a>
-<span class="sourceLineNo">835</span>    public Email addTo(String email, String name, String charset)<a name="line.835"></a>
+<span class="sourceLineNo">835</span>    public Email addTo(final String email, final String name, final String charset)<a name="line.835"></a>
 <span class="sourceLineNo">836</span>        throws EmailException<a name="line.836"></a>
 <span class="sourceLineNo">837</span>    {<a name="line.837"></a>
 <span class="sourceLineNo">838</span>        this.toList.add(createInternetAddress(email, name, charset));<a name="line.838"></a>
@@ -858,7 +858,7 @@
 <span class="sourceLineNo">850</span>     * @see javax.mail.internet.InternetAddress<a name="line.850"></a>
 <span class="sourceLineNo">851</span>     * @since 1.0<a name="line.851"></a>
 <span class="sourceLineNo">852</span>     */<a name="line.852"></a>
-<span class="sourceLineNo">853</span>    public Email setTo(Collection&lt;InternetAddress&gt; aCollection) throws EmailException<a name="line.853"></a>
+<span class="sourceLineNo">853</span>    public Email setTo(final Collection&lt;InternetAddress&gt; aCollection) throws EmailException<a name="line.853"></a>
 <span class="sourceLineNo">854</span>    {<a name="line.854"></a>
 <span class="sourceLineNo">855</span>        if (aCollection == null || aCollection.isEmpty())<a name="line.855"></a>
 <span class="sourceLineNo">856</span>        {<a name="line.856"></a>
@@ -882,7 +882,7 @@
 <span class="sourceLineNo">874</span>     * @throws EmailException Indicates an invalid email address.<a name="line.874"></a>
 <span class="sourceLineNo">875</span>     * @since 1.0<a name="line.875"></a>
 <span class="sourceLineNo">876</span>     */<a name="line.876"></a>
-<span class="sourceLineNo">877</span>    public Email addCc(String email)<a name="line.877"></a>
+<span class="sourceLineNo">877</span>    public Email addCc(final String email)<a name="line.877"></a>
 <span class="sourceLineNo">878</span>        throws EmailException<a name="line.878"></a>
 <span class="sourceLineNo">879</span>    {<a name="line.879"></a>
 <span class="sourceLineNo">880</span>        return this.addCc(email, null);<a name="line.880"></a>
@@ -902,7 +902,7 @@
 <span class="sourceLineNo">894</span>     * @throws EmailException Indicates an invalid email address.<a name="line.894"></a>
 <span class="sourceLineNo">895</span>     * @since 1.3<a name="line.895"></a>
 <span class="sourceLineNo">896</span>     */<a name="line.896"></a>
-<span class="sourceLineNo">897</span>    public Email addCc(String... emails)<a name="line.897"></a>
+<span class="sourceLineNo">897</span>    public Email addCc(final String... emails)<a name="line.897"></a>
 <span class="sourceLineNo">898</span>        throws EmailException<a name="line.898"></a>
 <span class="sourceLineNo">899</span>    {<a name="line.899"></a>
 <span class="sourceLineNo">900</span>        if (emails == null || emails.length == 0)<a name="line.900"></a>
@@ -910,7 +910,7 @@
 <span class="sourceLineNo">902</span>            throw new EmailException("Address List provided was invalid");<a name="line.902"></a>
 <span class="sourceLineNo">903</span>        }<a name="line.903"></a>
 <span class="sourceLineNo">904</span><a name="line.904"></a>
-<span class="sourceLineNo">905</span>        for (String email : emails)<a name="line.905"></a>
+<span class="sourceLineNo">905</span>        for (final String email : emails)<a name="line.905"></a>
 <span class="sourceLineNo">906</span>        {<a name="line.906"></a>
 <span class="sourceLineNo">907</span>            addCc(email, null);<a name="line.907"></a>
 <span class="sourceLineNo">908</span>        }<a name="line.908"></a>
@@ -932,7 +932,7 @@
 <span class="sourceLineNo">924</span>     * @throws EmailException Indicates an invalid email address.<a name="line.924"></a>
 <span class="sourceLineNo">925</span>     * @since 1.0<a name="line.925"></a>
 <span class="sourceLineNo">926</span>     */<a name="line.926"></a>
-<span class="sourceLineNo">927</span>    public Email addCc(String email, String name)<a name="line.927"></a>
+<span class="sourceLineNo">927</span>    public Email addCc(final String email, final String name)<a name="line.927"></a>
 <span class="sourceLineNo">928</span>        throws EmailException<a name="line.928"></a>
 <span class="sourceLineNo">929</span>    {<a name="line.929"></a>
 <span class="sourceLineNo">930</span>        return addCc(email, name, this.charset);<a name="line.930"></a>
@@ -949,7 +949,7 @@
 <span class="sourceLineNo">941</span>     * @throws EmailException Indicates an invalid email address or charset.<a name="line.941"></a>
 <span class="sourceLineNo">942</span>     * @since 1.1<a name="line.942"></a>
 <span class="sourceLineNo">943</span>     */<a name="line.943"></a>
-<span class="sourceLineNo">944</span>    public Email addCc(String email, String name, String charset)<a name="line.944"></a>
+<span class="sourceLineNo">944</span>    public Email addCc(final String email, final String name, final String charset)<a name="line.944"></a>
 <span class="sourceLineNo">945</span>        throws EmailException<a name="line.945"></a>
 <span class="sourceLineNo">946</span>    {<a name="line.946"></a>
 <span class="sourceLineNo">947</span>        this.ccList.add(createInternetAddress(email, name, charset));<a name="line.947"></a>
@@ -967,7 +967,7 @@
 <span class="sourceLineNo">959</span>     * @see javax.mail.internet.InternetAddress<a name="line.959"></a>
 <span class="sourceLineNo">960</span>     * @since 1.0<a name="line.960"></a>
 <span class="sourceLineNo">961</span>     */<a name="line.961"></a>
-<span class="sourceLineNo">962</span>    public Email setCc(Collection&lt;InternetAddress&gt; aCollection) throws EmailException<a name="line.962"></a>
+<span class="sourceLineNo">962</span>    public Email setCc(final Collection&lt;InternetAddress&gt; aCollection) throws EmailException<a name="line.962"></a>
 <span class="sourceLineNo">963</span>    {<a name="line.963"></a>
 <span class="sourceLineNo">964</span>        if (aCollection == null || aCollection.isEmpty())<a name="line.964"></a>
 <span class="sourceLineNo">965</span>        {<a name="line.965"></a>
@@ -991,7 +991,7 @@
 <span class="sourceLineNo">983</span>     * @throws EmailException Indicates an invalid email address<a name="line.983"></a>
 <span class="sourceLineNo">984</span>     * @since 1.0<a name="line.984"></a>
 <span class="sourceLineNo">985</span>     */<a name="line.985"></a>
-<span class="sourceLineNo">986</span>    public Email addBcc(String email)<a name="line.986"></a>
+<span class="sourceLineNo">986</span>    public Email addBcc(final String email)<a name="line.986"></a>
 <span class="sourceLineNo">987</span>        throws EmailException<a name="line.987"></a>
 <span class="sourceLineNo">988</span>    {<a name="line.988"></a>
 <span class="sourceLineNo">989</span>        return this.addBcc(email, null);<a name="line.989"></a>
@@ -1011,7 +1011,7 @@
 <span class="sourceLineNo">1003</span>     * @throws EmailException Indicates an invalid email address<a name="line.1003"></a>
 <span class="sourceLineNo">1004</span>     * @since 1.3<a name="line.1004"></a>
 <span class="sourceLineNo">1005</span>     */<a name="line.1005"></a>
-<span class="sourceLineNo">1006</span>    public Email addBcc(String... emails)<a name="line.1006"></a>
+<span class="sourceLineNo">1006</span>    public Email addBcc(final String... emails)<a name="line.1006"></a>
 <span class="sourceLineNo">1007</span>        throws EmailException<a name="line.1007"></a>
 <span class="sourceLineNo">1008</span>    {<a name="line.1008"></a>
 <span class="sourceLineNo">1009</span>        if (emails == null || emails.length == 0)<a name="line.1009"></a>
@@ -1019,7 +1019,7 @@
 <span class="sourceLineNo">1011</span>            throw new EmailException("Address List provided was invalid");<a name="line.1011"></a>
 <span class="sourceLineNo">1012</span>        }<a name="line.1012"></a>
 <span class="sourceLineNo">1013</span><a name="line.1013"></a>
-<span class="sourceLineNo">1014</span>        for (String email : emails)<a name="line.1014"></a>
+<span class="sourceLineNo">1014</span>        for (final String email : emails)<a name="line.1014"></a>
 <span class="sourceLineNo">1015</span>        {<a name="line.1015"></a>
 <span class="sourceLineNo">1016</span>            addBcc(email, null);<a name="line.1016"></a>
 <span class="sourceLineNo">1017</span>        }<a name="line.1017"></a>
@@ -1041,7 +1041,7 @@
 <span class="sourceLineNo">1033</span>     * @throws EmailException Indicates an invalid email address<a name="line.1033"></a>
 <span class="sourceLineNo">1034</span>     * @since 1.0<a name="line.1034"></a>
 <span class="sourceLineNo">1035</span>     */<a name="line.1035"></a>
-<span class="sourceLineNo">1036</span>    public Email addBcc(String email, String name)<a name="line.1036"></a>
+<span class="sourceLineNo">1036</span>    public Email addBcc(final String email, final String name)<a name="line.1036"></a>
 <span class="sourceLineNo">1037</span>        throws EmailException<a name="line.1037"></a>
 <span class="sourceLineNo">1038</span>    {<a name="line.1038"></a>
 <span class="sourceLineNo">1039</span>        return addBcc(email, name, this.charset);<a name="line.1039"></a>
@@ -1058,7 +1058,7 @@
 <span class="sourceLineNo">1050</span>     * @throws EmailException Indicates an invalid email address<a name="line.1050"></a>
 <span class="sourceLineNo">1051</span>     * @since 1.1<a name="line.1051"></a>
 <span class="sourceLineNo">1052</span>     */<a name="line.1052"></a>
-<span class="sourceLineNo">1053</span>    public Email addBcc(String email, String name, String charset)<a name="line.1053"></a>
+<span class="sourceLineNo">1053</span>    public Email addBcc(final String email, final String name, final String charset)<a name="line.1053"></a>
 <span class="sourceLineNo">1054</span>        throws EmailException<a name="line.1054"></a>
 <span class="sourceLineNo">1055</span>    {<a name="line.1055"></a>
 <span class="sourceLineNo">1056</span>        this.bccList.add(createInternetAddress(email, name, charset));<a name="line.1056"></a>
@@ -1076,7 +1076,7 @@
 <span class="sourceLineNo">1068</span>     * @see javax.mail.internet.InternetAddress<a name="line.1068"></a>
 <span class="sourceLineNo">1069</span>     * @since 1.0<a name="line.1069"></a>
 <span class="sourceLineNo">1070</span>     */<a name="line.1070"></a>
-<span class="sourceLineNo">1071</span>    public Email setBcc(Collection&lt;InternetAddress&gt; aCollection) throws EmailException<a name="line.1071"></a>
+<span class="sourceLineNo">1071</span>    public Email setBcc(final Collection&lt;InternetAddress&gt; aCollection) throws EmailException<a name="line.1071"></a>
 <span class="sourceLineNo">1072</span>    {<a name="line.1072"></a>
 <span class="sourceLineNo">1073</span>        if (aCollection == null || aCollection.isEmpty())<a name="line.1073"></a>
 <span class="sourceLineNo">1074</span>        {<a name="line.1074"></a>
@@ -1100,7 +1100,7 @@
 <span class="sourceLineNo">1092</span>     * @throws EmailException Indicates an invalid email address<a name="line.1092"></a>
 <span class="sourceLineNo">1093</span>     * @since 1.0<a name="line.1093"></a>
 <span class="sourceLineNo">1094</span>     */<a name="line.1094"></a>
-<span class="sourceLineNo">1095</span>    public Email addReplyTo(String email)<a name="line.1095"></a>
+<span class="sourceLineNo">1095</span>    public Email addReplyTo(final String email)<a name="line.1095"></a>
 <span class="sourceLineNo">1096</span>        throws EmailException<a name="line.1096"></a>
 <span class="sourceLineNo">1097</span>    {<a name="line.1097"></a>
 <span class="sourceLineNo">1098</span>        return this.addReplyTo(email, null);<a name="line.1098"></a>
@@ -1120,7 +1120,7 @@
 <span class="sourceLineNo">1112</span>     * @throws EmailException Indicates an invalid email address<a name="line.1112"></a>
 <span class="sourceLineNo">1113</span>     * @since 1.0<a name="line.1113"></a>
 <span class="sourceLineNo">1114</span>     */<a name="line.1114"></a>
-<span class="sourceLineNo">1115</span>    public Email addReplyTo(String email, String name)<a name="line.1115"></a>
+<span class="sourceLineNo">1115</span>    public Email addReplyTo(final String email, final String name)<a name="line.1115"></a>
 <span class="sourceLineNo">1116</span>        throws EmailException<a name="line.1116"></a>
 <span class="sourceLineNo">1117</span>    {<a name="line.1117"></a>
 <span class="sourceLineNo">1118</span>        return addReplyTo(email, name, this.charset);<a name="line.1118"></a>
@@ -1137,7 +1137,7 @@
 <span class="sourceLineNo">1129</span>     * @throws EmailException Indicates an invalid email address or charset.<a name="line.1129"></a>
 <span class="sourceLineNo">1130</span>     * @since 1.1<a name="line.1130"></a>
 <span class="sourceLineNo">1131</span>     */<a name="line.1131"></a>
-<span class="sourceLineNo">1132</span>    public Email addReplyTo(String email, String name, String charset)<a name="line.1132"></a>
+<span class="sourceLineNo">1132</span>    public Email addReplyTo(final String email, final String name, final String charset)<a name="line.1132"></a>
 <span class="sourceLineNo">1133</span>        throws EmailException<a name="line.1133"></a>
 <span class="sourceLineNo">1134</span>    {<a name="line.1134"></a>
 <span class="sourceLineNo">1135</span>        this.replyList.add(createInternetAddress(email, name, charset));<a name="line.1135"></a>
@@ -1155,7 +1155,7 @@
 <span class="sourceLineNo">1147</span>     * @see javax.mail.internet.InternetAddress<a name="line.1147"></a>
 <span class="sourceLineNo">1148</span>     * @since 1.1<a name="line.1148"></a>
 <span class="sourceLineNo">1149</span>     */<a name="line.1149"></a>
-<span class="sourceLineNo">1150</span>    public Email setReplyTo(Collection&lt;InternetAddress&gt; aCollection) throws EmailException<a name="line.1150"></a>
+<span class="sourceLineNo">1150</span>    public Email setReplyTo(final Collection&lt;InternetAddress&gt; aCollection) throws EmailException<a name="line.1150"></a>
 <span class="sourceLineNo">1151</span>    {<a name="line.1151"></a>
 <span class="sourceLineNo">1152</span>        if (aCollection == null || aCollection.isEmpty())<a name="line.1152"></a>
 <span class="sourceLineNo">1153</span>        {<a name="line.1153"></a>
@@ -1177,11 +1177,11 @@
 <span class="sourceLineNo">1169</span>     * @throws IllegalArgumentException if either of the provided header / value is null or empty<a name="line.1169"></a>
 <span class="sourceLineNo">1170</span>     * @since 1.0<a name="line.1170"></a>
 <span class="sourceLineNo">1171</span>     */<a name="line.1171"></a>
-<span class="sourceLineNo">1172</span>    public void setHeaders(Map&lt;String, String&gt; map)<a name="line.1172"></a>
+<span class="sourceLineNo">1172</span>    public void setHeaders(final Map&lt;String, String&gt; map)<a name="line.1172"></a>
 <span class="sourceLineNo">1173</span>    {<a name="line.1173"></a>
 <span class="sourceLineNo">1174</span>        this.headers.clear();<a name="line.1174"></a>
 <span class="sourceLineNo">1175</span><a name="line.1175"></a>
-<span class="sourceLineNo">1176</span>        for (Map.Entry&lt;String, String&gt; entry : map.entrySet())<a name="line.1176"></a>
+<span class="sourceLineNo">1176</span>        for (final Map.Entry&lt;String, String&gt; entry : map.entrySet())<a name="line.1176"></a>
 <span class="sourceLineNo">1177</span>        {<a name="line.1177"></a>
 <span class="sourceLineNo">1178</span>            addHeader(entry.getKey(), entry.getValue());<a name="line.1178"></a>
 <span class="sourceLineNo">1179</span>        }<a name="line.1179"></a>
@@ -1195,7 +1195,7 @@
 <span class="sourceLineNo">1187</span>     * @since 1.0<a name="line.1187"></a>
 <span class="sourceLineNo">1188</span>     * @throws IllegalArgumentException if either {@code name} or {@code value} is null or empty<a name="line.1188"></a>
 <span class="sourceLineNo">1189</span>     */<a name="line.1189"></a>
-<span class="sourceLineNo">1190</span>    public void addHeader(String name, String value)<a name="line.1190"></a>
+<span class="sourceLineNo">1190</span>    public void addHeader(final String name, final String value)<a name="line.1190"></a>
 <span class="sourceLineNo">1191</span>    {<a name="line.1191"></a>
 <span class="sourceLineNo">1192</span>        if (EmailUtils.isEmpty(name))<a name="line.1192"></a>
 <span class="sourceLineNo">1193</span>        {<a name="line.1193"></a>
@@ -1216,7 +1216,7 @@
 <span class="sourceLineNo">1208</span>     * @return An Email.<a name="line.1208"></a>
 <span class="sourceLineNo">1209</span>     * @since 1.0<a name="line.1209"></a>
 <span class="sourceLineNo">1210</span>     */<a name="line.1210"></a>
-<span class="sourceLineNo">1211</span>    public Email setSubject(String aSubject)<a name="line.1211"></a>
+<span class="sourceLineNo">1211</span>    public Email setSubject(final String aSubject)<a name="line.1211"></a>
 <span class="sourceLineNo">1212</span>    {<a name="line.1212"></a>
 <span class="sourceLineNo">1213</span>        this.subject = aSubject;<a name="line.1213"></a>
 <span class="sourceLineNo">1214</span>        return this;<a name="line.1214"></a>
@@ -1233,7 +1233,7 @@
 <span class="sourceLineNo">1225</span>     * @throws IllegalStateException when the mail session is already initialized<a name="line.1225"></a>
 <span class="sourceLineNo">1226</span>     * @since 1.0<a name="line.1226"></a>
 <span class="sourceLineNo">1227</span>     */<a name="line.1227"></a>
-<span class="sourceLineNo">1228</span>    public Email setBounceAddress(String email)<a name="line.1228"></a>
+<span class="sourceLineNo">1228</span>    public Email setBounceAddress(final String email)<a name="line.1228"></a>
 <span class="sourceLineNo">1229</span>    {<a name="line.1229"></a>
 <span class="sourceLineNo">1230</span>        checkSessionAlreadyInitialized();<a name="line.1230"></a>
 <span class="sourceLineNo">1231</span>        this.bounceAddress = email;<a name="line.1231"></a>
@@ -1367,9 +1367,9 @@
 <span class="sourceLineNo">1359</span><a name="line.1359"></a>
 <span class="sourceLineNo">1360</span>            if (this.headers.size() &gt; 0)<a name="line.1360"></a>
 <span class="sourceLineNo">1361</span>            {<a name="line.1361"></a>
-<span class="sourceLineNo">1362</span>                for (Map.Entry&lt;String, String&gt; entry : this.headers.entrySet())<a name="line.1362"></a>
+<span class="sourceLineNo">1362</span>                for (final Map.Entry&lt;String, String&gt; entry : this.headers.entrySet())<a name="line.1362"></a>
 <span class="sourceLineNo">1363</span>                {<a name="line.1363"></a>
-<span class="sourceLineNo">1364</span>                    String foldedValue = createFoldedHeaderValue(entry.getKey(), entry.getValue());<a name="line.1364"></a>
+<span class="sourceLineNo">1364</span>                    final String foldedValue = createFoldedHeaderValue(entry.getKey(), entry.getValue());<a name="line.1364"></a>
 <span class="sourceLineNo">1365</span>                    this.message.addHeader(entry.getKey(), foldedValue);<a name="line.1365"></a>
 <span class="sourceLineNo">1366</span>                }<a name="line.1366"></a>
 <span class="sourceLineNo">1367</span>            }<a name="line.1367"></a>
@@ -1381,11 +1381,11 @@
 <span class="sourceLineNo">1373</span><a name="line.1373"></a>
 <span class="sourceLineNo">1374</span>            if (this.popBeforeSmtp)<a name="line.1374"></a>
 <span class="sourceLineNo">1375</span>            {<a name="line.1375"></a>
-<span class="sourceLineNo">1376</span>                Store store = session.getStore("pop3");<a name="line.1376"></a>
+<span class="sourceLineNo">1376</span>                final Store store = session.getStore("pop3");<a name="line.1376"></a>
 <span class="sourceLineNo">1377</span>                store.connect(this.popHost, this.popUsername, this.popPassword);<a name="line.1377"></a>
 <span class="sourceLineNo">1378</span>            }<a name="line.1378"></a>
 <span class="sourceLineNo">1379</span>        }<a name="line.1379"></a>
-<span class="sourceLineNo">1380</span>        catch (MessagingException me)<a name="line.1380"></a>
+<span class="sourceLineNo">1380</span>        catch (final MessagingException me)<a name="line.1380"></a>
 <span class="sourceLineNo">1381</span>        {<a name="line.1381"></a>
 <span class="sourceLineNo">1382</span>            throw new EmailException(me);<a name="line.1382"></a>
 <span class="sourceLineNo">1383</span>        }<a name="line.1383"></a>
@@ -1408,9 +1408,9 @@
 <span class="sourceLineNo">1400</span>            Transport.send(this.message);<a name="line.1400"></a>
 <span class="sourceLineNo">1401</span>            return this.message.getMessageID();<a name="line.1401"></a>
 <span class="sourceLineNo">1402</span>        }<a name="line.1402"></a>
-<span class="sourceLineNo">1403</span>        catch (Throwable t)<a name="line.1403"></a>
+<span class="sourceLineNo">1403</span>        catch (final Throwable t)<a name="line.1403"></a>
 <span class="sourceLineNo">1404</span>        {<a name="line.1404"></a>
-<span class="sourceLineNo">1405</span>            String msg = "Sending the email to the following server failed : "<a name="line.1405"></a>
+<span class="sourceLineNo">1405</span>            final String msg = "Sending the email to the following server failed : "<a name="line.1405"></a>
 <span class="sourceLineNo">1406</span>                + this.getHostName()<a name="line.1406"></a>
 <span class="sourceLineNo">1407</span>                + ":"<a name="line.1407"></a>
 <span class="sourceLineNo">1408</span>                + this.getSmtpPort();<a name="line.1408"></a>
@@ -1452,7 +1452,7 @@
 <span class="sourceLineNo">1444</span>     * @param date Date to use as the sent date on the email<a name="line.1444"></a>
 <span class="sourceLineNo">1445</span>     * @since 1.0<a name="line.1445"></a>
 <span class="sourceLineNo">1446</span>     */<a name="line.1446"></a>
-<span class="sourceLineNo">1447</span>    public void setSentDate(Date date)<a name="line.1447"></a>
+<span class="sourceLineNo">1447</span>    public void setSentDate(final Date date)<a name="line.1447"></a>
 <span class="sourceLineNo">1448</span>    {<a name="line.1448"></a>
 <span class="sourceLineNo">1449</span>        if (date != null)<a name="line.1449"></a>
 <span class="sourceLineNo">1450</span>        {<a name="line.1450"></a>
@@ -1576,7 +1576,7 @@
 <span class="sourceLineNo">1568</span>     * @return An InternetAddress[].<a name="line.1568"></a>
 <span class="sourceLineNo">1569</span>     * @since 1.0<a name="line.1569"></a>
 <span class="sourceLineNo">1570</span>     */<a name="line.1570"></a>
-<span class="sourceLineNo">1571</span>    protected InternetAddress[] toInternetAddressArray(List&lt;InternetAddress&gt; list)<a name="line.1571"></a>
+<span class="sourceLineNo">1571</span>    protected InternetAddress[] toInternetAddressArray(final List&lt;InternetAddress&gt; list)<a name="line.1571"></a>
 <span class="sourceLineNo">1572</span>    {<a name="line.1572"></a>
 <span class="sourceLineNo">1573</span>        return list.toArray(new InternetAddress[list.size()]);<a name="line.1573"></a>
 <span class="sourceLineNo">1574</span>    }<a name="line.1574"></a>
@@ -1591,10 +1591,10 @@
 <span class="sourceLineNo">1583</span>     * @since 1.0<a name="line.1583"></a>
 <span class="sourceLineNo">1584</span>     */<a name="line.1584"></a>
 <span class="sourceLineNo">1585</span>    public void setPopBeforeSmtp(<a name="line.1585"></a>
-<span class="sourceLineNo">1586</span>        boolean newPopBeforeSmtp,<a name="line.1586"></a>
-<span class="sourceLineNo">1587</span>        String newPopHost,<a name="line.1587"></a>
-<span class="sourceLineNo">1588</span>        String newPopUsername,<a name="line.1588"></a>
-<span class="sourceLineNo">1589</span>        String newPopPassword)<a name="line.1589"></a>
+<span class="sourceLineNo">1586</span>        final boolean newPopBeforeSmtp,<a name="line.1586"></a>
+<span class="sourceLineNo">1587</span>        final String newPopHost,<a name="line.1587"></a>
+<span class="sourceLineNo">1588</span>        final String newPopUsername,<a name="line.1588"></a>
+<span class="sourceLineNo">1589</span>        final String newPopPassword)<a name="line.1589"></a>
 <span class="sourceLineNo">1590</span>    {<a name="line.1590"></a>
 <span class="sourceLineNo">1591</span>        this.popBeforeSmtp = newPopBeforeSmtp;<a name="line.1591"></a>
 <span class="sourceLineNo">1592</span>        this.popHost = newPopHost;<a name="line.1592"></a>
@@ -1634,7 +1634,7 @@
 <span class="sourceLineNo">1626</span>     * @param ssl whether to enable the SSL transport<a name="line.1626"></a>
 <span class="sourceLineNo">1627</span>     */<a name="line.1627"></a>
 <span class="sourceLineNo">1628</span>    @Deprecated<a name="line.1628"></a>
-<span class="sourceLineNo">1629</span>    public void setSSL(boolean ssl)<a name="line.1629"></a>
+<span class="sourceLineNo">1629</span>    public void setSSL(final boolean ssl)<a name="line.1629"></a>
 <span class="sourceLineNo">1630</span>    {<a name="line.1630"></a>
 <span class="sourceLineNo">1631</span>        setSSLOnConnect(ssl);<a name="line.1631"></a>
 <span class="sourceLineNo">1632</span>    }<a name="line.1632"></a>
@@ -1646,7 +1646,7 @@
 <span class="sourceLineNo">1638</span>     * @return An Email.<a name="line.1638"></a>
 <span class="sourceLineNo">1639</span>     * @since 1.3<a name="line.1639"></a>
 <span class="sourceLineNo">1640</span>     */<a name="line.1640"></a>
-<span class="sourceLineNo">1641</span>    public Email setSSLOnConnect(boolean ssl)<a name="line.1641"></a>
+<span class="sourceLineNo">1641</span>    public Email setSSLOnConnect(final boolean ssl)<a name="line.1641"></a>
 <span class="sourceLineNo">1642</span>    {<a name="line.1642"></a>
 <span class="sourceLineNo">1643</span>        checkSessionAlreadyInitialized();<a name="line.1643"></a>
 <span class="sourceLineNo">1644</span>        this.sslOnConnect = ssl;<a name="line.1644"></a>
@@ -1672,7 +1672,7 @@
 <span class="sourceLineNo">1664</span>     * @return An Email.<a name="line.1664"></a>
 <span class="sourceLineNo">1665</span>     * @since 1.3<a name="line.1665"></a>
 <span class="sourceLineNo">1666</span>     */<a name="line.1666"></a>
-<span class="sourceLineNo">1667</span>    public Email setSSLCheckServerIdentity(boolean sslCheckServerIdentity)<a name="line.1667"></a>
+<span class="sourceLineNo">1667</span>    public Email setSSLCheckServerIdentity(final boolean sslCheckServerIdentity)<a name="line.1667"></a>
 <span class="sourceLineNo">1668</span>    {<a name="line.1668"></a>
 <span class="sourceLineNo">1669</span>        checkSessionAlreadyInitialized();<a name="line.1669"></a>
 <span class="sourceLineNo">1670</span>        this.sslCheckServerIdentity = sslCheckServerIdentity;<a name="line.1670"></a>
@@ -1703,7 +1703,7 @@
 <span class="sourceLineNo">1695</span>     *<a name="line.1695"></a>
 <span class="sourceLineNo">1696</span>     * @param sslSmtpPort the SSL port to use for the SMTP transport<a name="line.1696"></a>
 <span class="sourceLineNo">1697</span>     */<a name="line.1697"></a>
-<span class="sourceLineNo">1698</span>    public void setSslSmtpPort(String sslSmtpPort)<a name="line.1698"></a>
+<span class="sourceLineNo">1698</span>    public void setSslSmtpPort(final String sslSmtpPort)<a name="line.1698"></a>
 <span class="sourceLineNo">1699</span>    {<a name="line.1699"></a>
 <span class="sourceLineNo">1700</span>        checkSessionAlreadyInitialized();<a name="line.1700"></a>
 <span class="sourceLineNo">1701</span>        this.sslSmtpPort = sslSmtpPort;<a name="line.1701"></a>
@@ -1733,7 +1733,7 @@
 <span class="sourceLineNo">1725</span>     * @return An Email.<a name="line.1725"></a>
 <span class="sourceLineNo">1726</span>     * @since 1.3.2<a name="line.1726"></a>
 <span class="sourceLineNo">1727</span>     */<a name="line.1727"></a>
-<span class="sourceLineNo">1728</span>    public Email setSendPartial(boolean sendPartial)<a name="line.1728"></a>
+<span class="sourceLineNo">1728</span>    public Email setSendPartial(final boolean sendPartial)<a name="line.1728"></a>
 <span class="sourceLineNo">1729</span>    {<a name="line.1729"></a>
 <span class="sourceLineNo">1730</span>        checkSessionAlreadyInitialized();<a name="line.1730"></a>
 <span class="sourceLineNo">1731</span>        this.sendPartial = sendPartial;<a name="line.1731"></a>
@@ -1798,7 +1798,7 @@
 <span class="sourceLineNo">1790</span>     * @param socketConnectionTimeout the connection timeout<a name="line.1790"></a>
 <span class="sourceLineNo">1791</span>     * @since 1.2<a name="line.1791"></a>
 <span class="sourceLineNo">1792</span>     */<a name="line.1792"></a>
-<span class="sourceLineNo">1793</span>    public void setSocketConnectionTimeout(int socketConnectionTimeout)<a name="line.1793"></a>
+<span class="sourceLineNo">1793</span>    public void setSocketConnectionTimeout(final int socketConnectionTimeout)<a name="line.1793"></a>
 <span class="sourceLineNo">1794</span>    {<a name="line.1794"></a>
 <span class="sourceLineNo">1795</span>        checkSessionAlreadyInitialized();<a name="line.1795"></a>
 <span class="sourceLineNo">1796</span>        this.socketConnectionTimeout = socketConnectionTimeout;<a name="line.1796"></a>
@@ -1822,7 +1822,7 @@
 <span class="sourceLineNo">1814</span>     * @param socketTimeout the socket I/O timeout<a name="line.1814"></a>
 <span class="sourceLineNo">1815</span>     * @since 1.2<a name="line.1815"></a>
 <span class="sourceLineNo">1816</span>     */<a name="line.1816"></a>
-<span class="sourceLineNo">1817</span>    public void setSocketTimeout(int socketTimeout)<a name="line.1817"></a>
+<span class="sourceLineNo">1817</span>    public void setSocketTimeout(final int socketTimeout)<a name="line.1817"></a>
 <span class="sourceLineNo">1818</span>    {<a name="line.1818"></a>
 <span class="sourceLineNo">1819</span>        checkSessionAlreadyInitialized();<a name="line.1819"></a>
 <span class="sourceLineNo">1820</span>        this.socketTimeout = socketTimeout;<a name="line.1820"></a>
@@ -1835,7 +1835,7 @@
 <span class="sourceLineNo">1827</span>     * @param aSession mail session to be used<a name="line.1827"></a>
 <span class="sourceLineNo">1828</span>     * @return the newly created message<a name="line.1828"></a>
 <span class="sourceLineNo">1829</span>     */<a name="line.1829"></a>
-<span class="sourceLineNo">1830</span>    protected MimeMessage createMimeMessage(Session aSession)<a name="line.1830"></a>
+<span class="sourceLineNo">1830</span>    protected MimeMessage createMimeMessage(final Session aSession)<a name="line.1830"></a>
 <span class="sourceLineNo">1831</span>    {<a name="line.1831"></a>
 <span class="sourceLineNo">1832</span>        return new MimeMessage(aSession);<a name="line.1832"></a>
 <span class="sourceLineNo">1833</span>    }<a name="line.1833"></a>
@@ -1848,7 +1848,7 @@
 <span class="sourceLineNo">1840</span>     * @return the folded header value<a name="line.1840"></a>
 <span class="sourceLineNo">1841</span>     * @throws IllegalArgumentException if either the name or value is null or empty<a name="line.1841"></a>
 <span class="sourceLineNo">1842</span>     */<a name="line.1842"></a>
-<span class="sourceLineNo">1843</span>    private String createFoldedHeaderValue(String name, Object value)<a name="line.1843"></a>
+<span class="sourceLineNo">1843</span>    private String createFoldedHeaderValue(final String name, final Object value)<a name="line.1843"></a>
 <span class="sourceLineNo">1844</span>    {<a name="line.1844"></a>
 <span class="sourceLineNo">1845</span>        String result;<a name="line.1845"></a>
 <span class="sourceLineNo">1846</span><a name="line.1846"></a>
@@ -1865,7 +1865,7 @@
 <span class="sourceLineNo">1857</span>        {<a name="line.1857"></a>
 <span class="sourceLineNo">1858</span>            result = MimeUtility.fold(name.length() + 2, MimeUtility.encodeText(value.toString(), this.charset, null));<a name="line.1858"></a>
 <span class="sourceLineNo">1859</span>        }<a name="line.1859"></a>
-<span class="sourceLineNo">1860</span>        catch (UnsupportedEncodingException e)<a name="line.1860"></a>
+<span class="sourceLineNo">1860</span>        catch (final UnsupportedEncodingException e)<a name="line.1860"></a>
 <span class="sourceLineNo">1861</span>        {<a name="line.1861"></a>
 <span class="sourceLineNo">1862</span>            result = value.toString();<a name="line.1862"></a>
 <span class="sourceLineNo">1863</span>        }<a name="line.1863"></a>
@@ -1882,7 +1882,7 @@
 <span class="sourceLineNo">1874</span>     * @return An internet address.<a name="line.1874"></a>
 <span class="sourceLineNo">1875</span>     * @throws EmailException Thrown when the supplied address, name or charset were invalid.<a name="line.1875"></a>
 <span class="sourceLineNo">1876</span>     */<a name="line.1876"></a>
-<span class="sourceLineNo">1877</span>    private InternetAddress createInternetAddress(String email, String name, String charsetName)<a name="line.1877"></a>
+<span class="sourceLineNo">1877</span>    private InternetAddress createInternetAddress(final String email, final String name, final String charsetName)<a name="line.1877"></a>
 <span class="sourceLineNo">1878</span>        throws EmailException<a name="line.1878"></a>
 <span class="sourceLineNo">1879</span>    {<a name="line.1879"></a>
 <span class="sourceLineNo">1880</span>        InternetAddress address = null;<a name="line.1880"></a>
@@ -1903,7 +1903,7 @@
 <span class="sourceLineNo">1895</span>                {<a name="line.1895"></a>
 <span class="sourceLineNo">1896</span>                    // canonicalize the charset name and make sure<a name="line.1896"></a>
 <span class="sourceLineNo">1897</span>                    // the current platform supports it.<a name="line.1897"></a>
-<span class="sourceLineNo">1898</span>                    Charset set = Charset.forName(charsetName);<a name="line.1898"></a>
+<span class="sourceLineNo">1898</span>                    final Charset set = Charset.forName(charsetName);<a name="line.1898"></a>
 <span class="sourceLineNo">1899</span>                    address.setPersonal(name, set.name());<a name="line.1899"></a>
 <span class="sourceLineNo">1900</span>                }<a name="line.1900"></a>
 <span class="sourceLineNo">1901</span>            }<a name="line.1901"></a>
@@ -1912,11 +1912,11 @@
 <span class="sourceLineNo">1904</span>            // it will throw AddressException.<a name="line.1904"></a>
 <span class="sourceLineNo">1905</span>            address.validate();<a name="line.1905"></a>
 <span class="sourceLineNo">1906</span>        }<a name="line.1906"></a>
-<span class="sourceLineNo">1907</span>        catch (AddressException e)<a name="line.1907"></a>
+<span class="sourceLineNo">1907</span>        catch (final AddressException e)<a name="line.1907"></a>
 <span class="sourceLineNo">1908</span>        {<a name="line.1908"></a>
 <span class="sourceLineNo">1909</span>            throw new EmailException(e);<a name="line.1909"></a>
 <span class="sourceLineNo">1910</span>        }<a name="line.1910"></a>
-<span class="sourceLineNo">1911</span>        catch (UnsupportedEncodingException e)<a name="line.1911"></a>
+<span class="sourceLineNo">1911</span>        catch (final UnsupportedEncodingException e)<a name="line.1911"></a>
 <span class="sourceLineNo">1912</span>        {<a name="line.1912"></a>
 <span class="sourceLineNo">1913</span>            throw new EmailException(e);<a name="line.1913"></a>
 <span class="sourceLineNo">1914</span>        }<a name="line.1914"></a>

Modified: websites/production/commons/content/proper/commons-email/apidocs/src-html/org/apache/commons/mail/EmailAttachment.html
==============================================================================
--- websites/production/commons/content/proper/commons-email/apidocs/src-html/org/apache/commons/mail/EmailAttachment.html (original)
+++ websites/production/commons/content/proper/commons-email/apidocs/src-html/org/apache/commons/mail/EmailAttachment.html Wed Jul  9 20:46:21 2014
@@ -30,7 +30,7 @@
 <span class="sourceLineNo">022</span> * This class models an email attachment. Used by MultiPartEmail.<a name="line.22"></a>
 <span class="sourceLineNo">023</span> *<a name="line.23"></a>
 <span class="sourceLineNo">024</span> * @since 1.0<a name="line.24"></a>
-<span class="sourceLineNo">025</span> * @version $Id: EmailAttachment.java 1459997 2013-03-22 21:23:15Z tn $<a name="line.25"></a>
+<span class="sourceLineNo">025</span> * @version $Id: EmailAttachment.java 1606709 2014-06-30 12:26:06Z ggregory $<a name="line.25"></a>
 <span class="sourceLineNo">026</span> */<a name="line.26"></a>
 <span class="sourceLineNo">027</span>public class EmailAttachment<a name="line.27"></a>
 <span class="sourceLineNo">028</span>{<a name="line.28"></a>
@@ -116,7 +116,7 @@
 <span class="sourceLineNo">108</span>     * @param desc A String.<a name="line.108"></a>
 <span class="sourceLineNo">109</span>     * @since 1.0<a name="line.109"></a>
 <span class="sourceLineNo">110</span>     */<a name="line.110"></a>
-<span class="sourceLineNo">111</span>    public void setDescription(String desc)<a name="line.111"></a>
+<span class="sourceLineNo">111</span>    public void setDescription(final String desc)<a name="line.111"></a>
 <span class="sourceLineNo">112</span>    {<a name="line.112"></a>
 <span class="sourceLineNo">113</span>        this.description = desc;<a name="line.113"></a>
 <span class="sourceLineNo">114</span>    }<a name="line.114"></a>
@@ -127,7 +127,7 @@
 <span class="sourceLineNo">119</span>     * @param aName A String.<a name="line.119"></a>
 <span class="sourceLineNo">120</span>     * @since 1.0<a name="line.120"></a>
 <span class="sourceLineNo">121</span>     */<a name="line.121"></a>
-<span class="sourceLineNo">122</span>    public void setName(String aName)<a name="line.122"></a>
+<span class="sourceLineNo">122</span>    public void setName(final String aName)<a name="line.122"></a>
 <span class="sourceLineNo">123</span>    {<a name="line.123"></a>
 <span class="sourceLineNo">124</span>        this.name = aName;<a name="line.124"></a>
 <span class="sourceLineNo">125</span>    }<a name="line.125"></a>
@@ -142,7 +142,7 @@
 <span class="sourceLineNo">134</span>     * @param aPath A String.<a name="line.134"></a>
 <span class="sourceLineNo">135</span>     * @since 1.0<a name="line.135"></a>
 <span class="sourceLineNo">136</span>     */<a name="line.136"></a>
-<span class="sourceLineNo">137</span>    public void setPath(String aPath)<a name="line.137"></a>
+<span class="sourceLineNo">137</span>    public void setPath(final String aPath)<a name="line.137"></a>
 <span class="sourceLineNo">138</span>    {<a name="line.138"></a>
 <span class="sourceLineNo">139</span>        this.path = aPath;<a name="line.139"></a>
 <span class="sourceLineNo">140</span>    }<a name="line.140"></a>
@@ -153,7 +153,7 @@
 <span class="sourceLineNo">145</span>     * @param aUrl A URL.<a name="line.145"></a>
 <span class="sourceLineNo">146</span>     * @since 1.0<a name="line.146"></a>
 <span class="sourceLineNo">147</span>     */<a name="line.147"></a>
-<span class="sourceLineNo">148</span>    public void setURL(URL aUrl)<a name="line.148"></a>
+<span class="sourceLineNo">148</span>    public void setURL(final URL aUrl)<a name="line.148"></a>
 <span class="sourceLineNo">149</span>    {<a name="line.149"></a>
 <span class="sourceLineNo">150</span>        this.url = aUrl;<a name="line.150"></a>
 <span class="sourceLineNo">151</span>    }<a name="line.151"></a>
@@ -164,7 +164,7 @@
 <span class="sourceLineNo">156</span>     * @param aDisposition A String.<a name="line.156"></a>
 <span class="sourceLineNo">157</span>     * @since 1.0<a name="line.157"></a>
 <span class="sourceLineNo">158</span>     */<a name="line.158"></a>
-<span class="sourceLineNo">159</span>    public void setDisposition(String aDisposition)<a name="line.159"></a>
+<span class="sourceLineNo">159</span>    public void setDisposition(final String aDisposition)<a name="line.159"></a>
 <span class="sourceLineNo">160</span>    {<a name="line.160"></a>
 <span class="sourceLineNo">161</span>        this.disposition = aDisposition;<a name="line.161"></a>
 <span class="sourceLineNo">162</span>    }<a name="line.162"></a>



Mime
View raw message