diff --git a/src/main/java/org/apache/commons/net/smtp/SMTP.java b/src/main/java/org/apache/commons/net/smtp/SMTP.java index 79660ed34..72c8b23ef 100644 --- a/src/main/java/org/apache/commons/net/smtp/SMTP.java +++ b/src/main/java/org/apache/commons/net/smtp/SMTP.java @@ -120,7 +120,6 @@ protected void _connectAction_() throws IOException { /** * A convenience method to send the SMTP DATA command to the server, receive the reply, and return the reply code. - *

* * @return The reply code received from the server. * @throws SMTPConnectionClosedException If the SMTP server prematurely closes the connection as a result of the client being idle or some other reason @@ -135,7 +134,6 @@ public int data() throws IOException { /** * Closes the connection to the SMTP server and sets to null some internal data so that the memory may be reclaimed by the garbage collector. The reply text * and code information from the last command is voided so that the memory it used may be reclaimed. - *

* * @throws IOException If an error occurs while disconnecting. */ @@ -151,7 +149,6 @@ public void disconnect() throws IOException { /** * A convenience method to send the SMTP VRFY command to the server, receive the reply, and return the reply code. - *

* * @param name The name to expand. * @return The reply code received from the server. @@ -176,7 +173,6 @@ protected ProtocolCommandSupport getCommandSupport() { * Fetches a reply from the SMTP server and returns the integer reply code. After calling this method, the actual reply text can be accessed from either * calling {@link #getReplyString getReplyString } or {@link #getReplyStrings getReplyStrings }. Only use this method if you are implementing your own SMTP * client or if you need to fetch a secondary response from the SMTP server. - *

* * @return The integer value of the reply code of the fetched SMTP reply. * @throws SMTPConnectionClosedException If the SMTP server prematurely closes the connection as a result of the client being idle or some other reason @@ -243,7 +239,6 @@ public int getReply() throws IOException { /** * Returns the integer value of the reply code of the last SMTP reply. You will usually only use this method after you connect to the SMTP server to check * that the connection was successful since connect is of type void. - *

* * @return The integer value of the reply code of the last SMTP reply. */ @@ -253,7 +248,6 @@ public int getReplyCode() { /** * Returns the entire text of the last SMTP server response exactly as it was received, including all end of line markers in NETASCII format. - *

* * @return The entire text from the last SMTP response as a String. */ @@ -290,7 +284,6 @@ public String[] getReplyStrings() { /** * A convenience method to send the SMTP HELO command to the server, receive the reply, and return the reply code. - *

* * @param hostname The hostname of the sender. * @return The reply code received from the server. @@ -305,7 +298,6 @@ public int helo(final String hostname) throws IOException { /** * A convenience method to send the SMTP HELP command to the server, receive the reply, and return the reply code. - *

* * @return The reply code received from the server. * @throws SMTPConnectionClosedException If the SMTP server prematurely closes the connection as a result of the client being idle or some other reason @@ -319,7 +311,6 @@ public int help() throws IOException { /** * A convenience method to send the SMTP HELP command to the server, receive the reply, and return the reply code. - *

* * @param command The command name on which to request help. * @return The reply code received from the server. @@ -334,7 +325,6 @@ public int help(final String command) throws IOException { /** * A convenience method to send the SMTP MAIL command to the server, receive the reply, and return the reply code. - *

* * @param reversePath The reverse path. * @return The reply code received from the server. @@ -349,7 +339,6 @@ public int mail(final String reversePath) throws IOException { /** * A convenience method to send the SMTP NOOP command to the server, receive the reply, and return the reply code. - *

* * @return The reply code received from the server. * @throws SMTPConnectionClosedException If the SMTP server prematurely closes the connection as a result of the client being idle or some other reason @@ -363,7 +352,6 @@ public int noop() throws IOException { /** * A convenience method to send the SMTP QUIT command to the server, receive the reply, and return the reply code. - *

* * @return The reply code received from the server. * @throws SMTPConnectionClosedException If the SMTP server prematurely closes the connection as a result of the client being idle or some other reason @@ -377,7 +365,6 @@ public int quit() throws IOException { /** * A convenience method to send the SMTP RCPT command to the server, receive the reply, and return the reply code. - *

* * @param forwardPath The forward path. * @return The reply code received from the server. @@ -404,7 +391,6 @@ public void removeProtocolCommandistener(final org.apache.commons.net.ProtocolCo /** * A convenience method to send the SMTP RSET command to the server, receive the reply, and return the reply code. - *

* * @return The reply code received from the server. * @throws SMTPConnectionClosedException If the SMTP server prematurely closes the connection as a result of the client being idle or some other reason @@ -418,7 +404,6 @@ public int rset() throws IOException { /** * A convenience method to send the SMTP SAML command to the server, receive the reply, and return the reply code. - *

* * @param reversePath The reverse path. * @return The reply code received from the server. @@ -433,7 +418,6 @@ public int saml(final String reversePath) throws IOException { /** * A convenience method to send the SMTP SEND command to the server, receive the reply, and return the reply code. - *

* * @param reversePath The reverse path. * @return The reply code received from the server. @@ -449,7 +433,6 @@ public int send(final String reversePath) throws IOException { /** * Sends an SMTP command with no arguments to the server, waits for a reply and returns the numerical response code. After invocation, for more detailed * information, the actual reply text can be accessed by calling {@link #getReplyString getReplyString } or {@link #getReplyStrings getReplyStrings }. - *

* * @param command The SMTPCommand constant corresponding to the SMTP command to send. * @return The integer value of the SMTP reply code returned by the server in response to the command. @@ -465,7 +448,6 @@ public int sendCommand(final int command) throws IOException { /** * Sends an SMTP command to the server, waits for a reply and returns the numerical response code. After invocation, for more detailed information, the * actual reply text can be accessed by calling {@link #getReplyString getReplyString } or {@link #getReplyStrings getReplyStrings }. - *

* * @param command The SMTPCommand constant corresponding to the SMTP command to send. * @param args The arguments to the SMTP command. If this parameter is set to null, then the command is sent with no argument. @@ -494,7 +476,6 @@ private int sendCommand(final int command, final String args, final boolean incl /** * Sends an SMTP command with no arguments to the server, waits for a reply and returns the numerical response code. After invocation, for more detailed * information, the actual reply text can be accessed by calling {@link #getReplyString getReplyString } or {@link #getReplyStrings getReplyStrings }. - *

* * @param command The text representation of the SMTP command to send. * @return The integer value of the SMTP reply code returned by the server in response to the command. @@ -510,7 +491,6 @@ public int sendCommand(final String command) throws IOException { /** * Sends an SMTP command to the server, waits for a reply and returns the numerical response code. After invocation, for more detailed information, the * actual reply text can be accessed by calling {@link #getReplyString getReplyString } or {@link #getReplyStrings getReplyStrings }. - *

* * @param command The text representation of the SMTP command to send. * @param args The arguments to the SMTP command. If this parameter is set to null, then the command is sent with no argument. @@ -557,7 +537,6 @@ private int sendCommand(final String command, final String args, final boolean i /** * A convenience method to send the SMTP SOML command to the server, receive the reply, and return the reply code. - *

* * @param reversePath The reverse path. * @return The reply code received from the server. @@ -572,7 +551,6 @@ public int soml(final String reversePath) throws IOException { /** * A convenience method to send the SMTP TURN command to the server, receive the reply, and return the reply code. - *

* * @return The reply code received from the server. * @throws SMTPConnectionClosedException If the SMTP server prematurely closes the connection as a result of the client being idle or some other reason @@ -586,7 +564,6 @@ public int turn() throws IOException { /** * A convenience method to send the SMTP VRFY command to the server, receive the reply, and return the reply code. - *

* * @param user The user address to verify. * @return The reply code received from the server.