You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by tn...@apache.org on 2012/12/04 21:04:52 UTC

svn commit: r1417143 - in /commons/proper/email/trunk/src/main/java/org/apache/commons/mail: Email.java util/MimeMessageParser.java

Author: tn
Date: Tue Dec  4 20:04:51 2012
New Revision: 1417143

URL: http://svn.apache.org/viewvc?rev=1417143&view=rev
Log:
More javadoc typos and fixes.

Modified:
    commons/proper/email/trunk/src/main/java/org/apache/commons/mail/Email.java
    commons/proper/email/trunk/src/main/java/org/apache/commons/mail/util/MimeMessageParser.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=1417143&r1=1417142&r2=1417143&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 Tue Dec  4 20:04:51 2012
@@ -468,10 +468,10 @@ public abstract class Email implements E
     /**
      * Supply a mail Session object from a JNDI directory.
      *
-     * @param jndiName name of JNDI ressource (javax.mail.Session type), ressource
-     * if searched in java:comp/env if name dont start with "java:"
+     * @param jndiName name of JNDI resource (javax.mail.Session type), resource
+     * if searched in java:comp/env if name does not start with "java:"
      * @throws IllegalArgumentException JNDI name null or empty
-     * @throws NamingException ressource can be retrieved from JNDI directory
+     * @throws NamingException resource can be retrieved from JNDI directory
      * @since 1.1
      */
     public void setMailSessionFromJNDI(String jndiName) throws NamingException
@@ -1111,7 +1111,7 @@ public abstract class Email implements E
 
 
     /**
-     * Define the content of the mail. It should be overidden by the
+     * Define the content of the mail. It should be overridden by the
      * subclasses.
      *
      * @param msg A String.
@@ -1443,7 +1443,7 @@ public abstract class Email implements E
     /**
      * Set details regarding "pop3 before smtp" authentication.
      *
-     * @param newPopBeforeSmtp Wether or not to log into pop3 server before sending mail.
+     * @param newPopBeforeSmtp Whether or not to log into pop3 server before sending mail.
      * @param newPopHost The pop3 host to use.
      * @param newPopUsername The pop3 username.
      * @param newPopPassword The pop3 password.

Modified: commons/proper/email/trunk/src/main/java/org/apache/commons/mail/util/MimeMessageParser.java
URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/src/main/java/org/apache/commons/mail/util/MimeMessageParser.java?rev=1417143&r1=1417142&r2=1417143&view=diff
==============================================================================
--- commons/proper/email/trunk/src/main/java/org/apache/commons/mail/util/MimeMessageParser.java (original)
+++ commons/proper/email/trunk/src/main/java/org/apache/commons/mail/util/MimeMessageParser.java Tue Dec  4 20:04:51 2012
@@ -86,7 +86,7 @@ public class MimeMessageParser
     }
 
     /**
-     * @return the 'to' recipents of the message
+     * @return the 'to' recipients of the message
      * @throws Exception determining the recipients failed
      */
     public List<javax.mail.Address> getTo() throws Exception
@@ -96,7 +96,7 @@ public class MimeMessageParser
     }
 
     /**
-     * @return the 'cc' recipents of the message
+     * @return the 'cc' recipients of the message
      * @throws Exception determining the recipients failed
      */
     public List<javax.mail.Address> getCc() throws Exception
@@ -106,7 +106,7 @@ public class MimeMessageParser
     }
 
     /**
-     * @return the 'bcc' recipents of the message
+     * @return the 'bcc' recipients of the message
      * @throws Exception determining the recipients failed
      */
     public List<javax.mail.Address> getBcc() throws Exception
@@ -161,7 +161,7 @@ public class MimeMessageParser
     /**
      * Extracts the content of a MimeMessage recursively.
      *
-     * @param parent the parent Mulitpart
+     * @param parent the parent multi-part
      * @param part   the current MimePart
      * @throws MessagingException parsing the MimeMessage failed
      * @throws IOException        parsing the MimeMessage failed
@@ -300,7 +300,7 @@ public class MimeMessageParser
      *
      * @param part the mail part
      * @param dataSource the data source
-     * @return the name of the data source or <b>null</b> if no name can be determined
+     * @return the name of the data source or {@code null} if no name can be determined
      * @throws MessagingException accessing the part failed
      * @throws UnsupportedEncodingException decoding the text failed
      */