Browse Source

Made Mailer and sub-classes package private. Got rid of javadoc warnings (by cheating).

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271167 13f79535-47bb-0310-9956-ffa450edef68
master
adammurdoch 23 years ago
parent
commit
860ee8bfd4
4 changed files with 5 additions and 11 deletions
  1. +2
    -8
      src/main/org/apache/tools/ant/taskdefs/email/EmailTask.java
  2. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/email/Mailer.java
  3. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/email/MimeMailer.java
  4. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/email/PlainMailer.java

+ 2
- 8
src/main/org/apache/tools/ant/taskdefs/email/EmailTask.java View File

@@ -68,12 +68,8 @@ import org.apache.tools.ant.types.FileSet;


/** /**
* A task to send SMTP email. This is a refactoring of the SendMail and MimeMail * A task to send SMTP email. This is a refactoring of the SendMail and MimeMail
* tasks such that both are within a single task. The functionality of SendMail can
* be found in {@link org.apache.tools.ant.taskdefs.email.PlainMailer PlainMailer},
* MimeMail in {@link org.apache.tools.ant.taskdefs.email.MimeMailer MimeMailer},
* and a new intermediate UU format.
* {@link org.apache.tools.ant.taskdefs.email.UUMailer UUMailer}.
*
* tasks such that both are within a single task.
*
* @author Magesh Umasankar * @author Magesh Umasankar
* @author glenn_twiggs@bmc.com * @author glenn_twiggs@bmc.com
* @author steve_l@iseran.com steve loughran * @author steve_l@iseran.com steve loughran
@@ -165,7 +161,6 @@ public class EmailTask
} }


/** Sets the mail server port /** Sets the mail server port
* @see Mailer#setPort(int)
* @param port The port to use * @param port The port to use
*/ */
public void setMailport( int port ) public void setMailport( int port )
@@ -174,7 +169,6 @@ public class EmailTask
} }


/** Sets the host /** Sets the host
* @see Mailer#setHost()
* @param host The host to connect to * @param host The host to connect to
*/ */
public void setMailhost( String host ) public void setMailhost( String host )


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/email/Mailer.java View File

@@ -63,7 +63,7 @@ import org.apache.tools.ant.Task;
* @author roxspring@yahoo.com Rob Oxspring * @author roxspring@yahoo.com Rob Oxspring
* @since 1.5 * @since 1.5
*/ */
public abstract class Mailer
abstract class Mailer
{ {
protected String host = null; protected String host = null;
protected int port = -1; protected int port = -1;


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/email/MimeMailer.java View File

@@ -80,7 +80,7 @@ import org.apache.tools.ant.BuildException;
* @author roxspring@yahoo.com Rob Oxspring * @author roxspring@yahoo.com Rob Oxspring
* @since 1.5 * @since 1.5
*/ */
public class MimeMailer
class MimeMailer
extends Mailer extends Mailer
{ {
/** Sends the email /** Sends the email


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/email/PlainMailer.java View File

@@ -68,7 +68,7 @@ import org.apache.tools.mail.MailMessage;
* @author roxspring@yahoo.com Rob Oxspring * @author roxspring@yahoo.com Rob Oxspring
* @since 1.5 * @since 1.5
*/ */
public class PlainMailer
class PlainMailer
extends Mailer extends Mailer
{ {
/** Sends the email using the apache {@link org.apache.tools.mail.MailMessage MailMessage} class. /** Sends the email using the apache {@link org.apache.tools.mail.MailMessage MailMessage} class.


Loading…
Cancel
Save