You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mailet-api@james.apache.org by ba...@apache.org on 2011/01/21 11:53:37 UTC
svn commit: r1061729 -
/james/mailet/api/trunk/src/main/java/org/apache/mailet/MailAddress.java
Author: bago
Date: Fri Jan 21 10:53:37 2011
New Revision: 1061729
URL: http://svn.apache.org/viewvc?rev=1061729&view=rev
Log:
Added the @since javadoc attribute to methods introduced in 2.4 (MAILET-24)
Modified:
james/mailet/api/trunk/src/main/java/org/apache/mailet/MailAddress.java
Modified: james/mailet/api/trunk/src/main/java/org/apache/mailet/MailAddress.java
URL: http://svn.apache.org/viewvc/james/mailet/api/trunk/src/main/java/org/apache/mailet/MailAddress.java?rev=1061729&r1=1061728&r2=1061729&view=diff
==============================================================================
--- james/mailet/api/trunk/src/main/java/org/apache/mailet/MailAddress.java (original)
+++ james/mailet/api/trunk/src/main/java/org/apache/mailet/MailAddress.java Fri Jan 21 10:53:37 2011
@@ -211,6 +211,8 @@ public class MailAddress implements java
* @return the domain part of this email address. If the domain is of
* the domain-literal form (e.g. [yyy.yyy.yyy.yyy]), the braces will
* have been stripped returning the raw IP address.
+ *
+ * @since Mailet API 2.4
*/
public String getDomain() {
if (!(domain.startsWith("[") && domain.endsWith("]"))) {
@@ -240,6 +242,8 @@ public class MailAddress implements java
* In addresses, it is simply interpreted on the particular
* host as a name of a particular mailbox
* (the part before the "@" character)
+ *
+ * @since Mailet API 2.4
*/
public String getLocalPart() {
return localPart;