Author: sebb Date: Sun Jan 18 20:45:13 2015 New Revision: 1652850 URL: http://svn.apache.org/r1652850 Log: Javadoc 8 fixes
Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3.java commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3Client.java commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3Command.java commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3MessageInfo.java commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3Reply.java commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/SMTPConnectionClosedException.java commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/Telnet.java commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetClient.java commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetNotificationHandler.java commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetOption.java commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTP.java commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPAckPacket.java commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPClient.java commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPDataPacket.java commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPErrorPacket.java commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPPacket.java commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPPacketException.java commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPReadRequestPacket.java commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPRequestPacket.java commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPWriteRequestPacket.java commons/proper/net/trunk/src/main/java/org/apache/commons/net/time/TimeTCPClient.java commons/proper/net/trunk/src/main/java/org/apache/commons/net/time/TimeUDPClient.java commons/proper/net/trunk/src/main/java/org/apache/commons/net/whois/WhoisClient.java Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3.java URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3.java?rev=1652850&r1=1652849&r2=1652850&view=diff ============================================================================== --- commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3.java (original) +++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3.java Sun Jan 18 20:45:13 2015 @@ -46,8 +46,8 @@ import org.apache.commons.net.io.CRLFLin * the reply received from the server deviates enough from the protocol * specification that it cannot be interpreted in a useful manner despite * attempts to be as lenient as possible. - * <p> - * <p> + * + * * @see POP3Client * @see org.apache.commons.net.MalformedServerReplyException ***/ @@ -167,7 +167,7 @@ public class POP3 extends SocketClient /*** * Returns the current POP3 client state. - * <p> + * * @return The current POP3 client state. ***/ public int getState() @@ -200,7 +200,7 @@ public class POP3 extends SocketClient * <code> DISCONNECTED_STATE </code>. The reply text information * from the last issued command is voided to allow garbage collection * of the memory used to store that information. - * <p> + * * @exception IOException If there is an error in disconnecting. ***/ @Override @@ -217,7 +217,7 @@ public class POP3 extends SocketClient /*** * Sends a command an arguments to the server and returns the reply code. - * <p> + * * @param command The POP3 command to send. * @param args The command arguments. * @return The server reply code (either POP3Reply.OK, POP3Reply.ERROR or POP3Reply.OK_INT). @@ -250,7 +250,7 @@ public class POP3 extends SocketClient /*** * Sends a command with no arguments to the server and returns the * reply code. - * <p> + * * @param command The POP3 command to send. * @return The server reply code (either POP3Reply.OK, POP3Reply.ERROR or POP3Reply.OK_INT). ***/ @@ -261,7 +261,7 @@ public class POP3 extends SocketClient /*** * Sends a command an arguments to the server and returns the reply code. - * <p> + * * @param command The POP3 command to send * (one of the POP3Command constants). * @param args The command arguments. @@ -275,7 +275,7 @@ public class POP3 extends SocketClient /*** * Sends a command with no arguments to the server and returns the * reply code. - * <p> + * * @param command The POP3 command to send * (one of the POP3Command constants). * @return The server reply code (either POP3Reply.OK, POP3Reply.ERROR or POP3Reply.OK_INT). @@ -295,7 +295,7 @@ public class POP3 extends SocketClient * fetch the rest of the reply, and then call <code>getReplyStrings</code> * again. You only have to worry about this if you are implementing * your own client using the {@link #sendCommand sendCommand } methods. - * <p> + * * @return The last server response. ***/ public String[] getReplyStrings() @@ -312,7 +312,7 @@ public class POP3 extends SocketClient * fetch the rest of the reply, and then call <code>getReplyString</code> * again. You only have to worry about this if you are implementing * your own client using the {@link #sendCommand sendCommand } methods. - * <p> + * * @return The last server response. ***/ public String getReplyString() Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3Client.java URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3Client.java?rev=1652850&r1=1652849&r2=1652850&view=diff ============================================================================== --- commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3Client.java (original) +++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3Client.java Sun Jan 18 20:45:13 2015 @@ -41,8 +41,8 @@ import org.apache.commons.net.io.DotTerm * the reply received from the server deviates enough from the protocol * specification that it cannot be interpreted in a useful manner despite * attempts to be as lenient as possible. - * <p> - * <p> + * + * * @see POP3MessageInfo * @see org.apache.commons.net.io.DotTerminatedMessageReader * @see org.apache.commons.net.MalformedServerReplyException @@ -140,7 +140,7 @@ public class POP3Client extends POP3 * . After logging in, the client enters the * {@link org.apache.commons.net.pop3.POP3#TRANSACTION_STATE TRANSACTION_STATE } * . - * <p> + * * @param username The account name being logged in to. * @param password The plain text password of the account. * @return True if the login attempt was successful, false if not. @@ -189,7 +189,7 @@ public class POP3Client extends POP3 * information to this method. The secret is a shared secret known * to you and the server. See RFC 1939 for more details regarding * the APOP command. - * <p> + * * @param username The account name being logged in to. * @param timestamp The timestamp string to combine with the secret. * @param secret The shared secret which produces the MD5 digest when @@ -250,7 +250,7 @@ public class POP3Client extends POP3 * , it enters the * {@link org.apache.commons.net.pop3.POP3#UPDATE_STATE UPDATE_STATE } * on a successful logout. - * <p> + * * @return True if the logout attempt was successful, false if not. * @exception IOException If a network I/O error occurs in the process * of logging out. @@ -272,7 +272,7 @@ public class POP3Client extends POP3 * the client is in the * {@link org.apache.commons.net.pop3.POP3#TRANSACTION_STATE TRANSACTION_STATE } * . - * <p> + * * @return True if the noop attempt was successful, false if not. * @exception IOException If a network I/O error occurs in the process of * sending the NOOP command. @@ -295,7 +295,7 @@ public class POP3Client extends POP3 * A delete attempt can only succeed if the client is in the * {@link org.apache.commons.net.pop3.POP3#TRANSACTION_STATE TRANSACTION_STATE } * . - * <p> + * * @param messageId The message number to delete. * @return True if the deletion attempt was successful, false if not. * @exception IOException If a network I/O error occurs in the process of @@ -317,7 +317,7 @@ public class POP3Client extends POP3 * succeed if the client is in the * {@link org.apache.commons.net.pop3.POP3#TRANSACTION_STATE TRANSACTION_STATE } * . - * <p> + * * @return True if the reset attempt was successful, false if not. * @exception IOException If a network I/O error occurs in the process of * sending the reset command. @@ -338,7 +338,7 @@ public class POP3Client extends POP3 * containing the number of messages in the mailbox and the total * size of the messages in bytes. Returns null if the status the * attempt fails. - * <p> + * * @return A POP3MessageInfo instance containing the number of * messages in the mailbox and the total size of the messages * in bytes. Returns null if the status the attempt fails. @@ -366,7 +366,7 @@ public class POP3Client extends POP3 * size of the message in bytes. Returns null if the list * attempt fails (e.g., if the specified message number does * not exist). - * <p> + * * @param messageId The number of the message list. * @return A POP3MessageInfo instance containing the number of the * listed message and the size of the message in bytes. Returns @@ -395,7 +395,7 @@ public class POP3Client extends POP3 * each containing the number of a message and its size in bytes. * If there are no messages, this method returns a zero length array. * If the list attempt fails, it returns null. - * <p> + * * @return An array of POP3MessageInfo instances representing all messages * in the order they appear in the mailbox, * each containing the number of a message and its size in bytes. @@ -436,7 +436,7 @@ public class POP3Client extends POP3 * unique identifier for that message. Returns null if the list * attempt fails (e.g., if the specified message number does * not exist). - * <p> + * * @param messageId The number of the message list. * @return A POP3MessageInfo instance containing the number of the * listed message and the unique identifier for that message. @@ -466,7 +466,7 @@ public class POP3Client extends POP3 * each containing the number of a message and its unique identifier. * If there are no messages, this method returns a zero length array. * If the list attempt fails, it returns null. - * <p> + * * @return An array of POP3MessageInfo instances representing all messages * in the order they appear in the mailbox, * each containing the number of a message and its unique identifier @@ -513,7 +513,7 @@ public class POP3Client extends POP3 * reached, new commands can be executed and their replies read. If * you do not follow these requirements, your program will not work * properly. - * <p> + * * @param messageId The number of the message to fetch. * @return A DotTerminatedMessageReader instance * from which the entire message can be read. @@ -552,7 +552,7 @@ public class POP3Client extends POP3 * reached, new commands can be executed and their replies read. If * you do not follow these requirements, your program will not work * properly. - * <p> + * * @param messageId The number of the message to fetch. * @param numLines The top number of lines to fetch. This must be >= 0. * @return A DotTerminatedMessageReader instance Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3Command.java URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3Command.java?rev=1652850&r1=1652849&r2=1652850&view=diff ============================================================================== --- commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3Command.java (original) +++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3Command.java Sun Jan 18 20:45:13 2015 @@ -19,8 +19,8 @@ package org.apache.commons.net.pop3; /*** * POP3Command stores POP3 command code constants. - * <p> - * <p> + * + * ***/ public final class POP3Command @@ -79,7 +79,7 @@ public final class POP3Command /*** * Get the POP3 protocol string command corresponding to a command code. - * <p> + * * @return The POP3 protocol string command corresponding to a command code. ***/ public static final String getCommand(int command) Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3MessageInfo.java URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3MessageInfo.java?rev=1652850&r1=1652849&r2=1652850&view=diff ============================================================================== --- commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3MessageInfo.java (original) +++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3MessageInfo.java Sun Jan 18 20:45:13 2015 @@ -34,8 +34,8 @@ package org.apache.commons.net.pop3; * In response to unique identifier listings, <code> number </code> contains * the message number, <code> size </code> is undefined, and * <code> identifier </code> contains the message's unique identifier. - * <p> - * <p> + * + * ***/ public final class POP3MessageInfo Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3Reply.java URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3Reply.java?rev=1652850&r1=1652849&r2=1652850&view=diff ============================================================================== --- commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3Reply.java (original) +++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3Reply.java Sun Jan 18 20:45:13 2015 @@ -19,8 +19,6 @@ package org.apache.commons.net.pop3; /*** * POP3Reply stores POP3 reply code constants. - * <p> - * <p> ***/ public final class POP3Reply Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/SMTPConnectionClosedException.java URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/SMTPConnectionClosedException.java?rev=1652850&r1=1652849&r2=1652850&view=diff ============================================================================== --- commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/SMTPConnectionClosedException.java (original) +++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/SMTPConnectionClosedException.java Sun Jan 18 20:45:13 2015 @@ -27,8 +27,8 @@ import java.io.IOException; * failed SMTP command. This exception is derived from IOException and * therefore may be caught either as an IOException or specifically as an * SMTPConnectionClosedException. - * <p> - * <p> + * + * * @see SMTP * @see SMTPClient ***/ @@ -46,7 +46,7 @@ public final class SMTPConnectionClosedE /*** * Constructs a SMTPConnectionClosedException with a specified message. - * <p> + * * @param message The message explaining the reason for the exception. ***/ public SMTPConnectionClosedException(String message) Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/Telnet.java URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/Telnet.java?rev=1652850&r1=1652849&r2=1652850&view=diff ============================================================================== --- commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/Telnet.java (original) +++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/Telnet.java Sun Jan 18 20:45:13 2015 @@ -148,7 +148,7 @@ class Telnet extends SocketClient /* TERMINAL-TYPE option (start)*/ /*** * This constructor lets you specify the terminal type. - * <p> + * * @param termtype - terminal type to be negotiated (ej. VT100) ***/ Telnet(String termtype) @@ -165,9 +165,9 @@ class Telnet extends SocketClient /*** * Looks for the state of the option. - * <p> + * * @return returns true if a will has been acknowledged - * <p> + * * @param option - option code to be looked up. ***/ boolean _stateIsWill(int option) @@ -177,9 +177,9 @@ class Telnet extends SocketClient /*** * Looks for the state of the option. - * <p> + * * @return returns true if a wont has been acknowledged - * <p> + * * @param option - option code to be looked up. ***/ boolean _stateIsWont(int option) @@ -189,9 +189,9 @@ class Telnet extends SocketClient /*** * Looks for the state of the option. - * <p> + * * @return returns true if a do has been acknowledged - * <p> + * * @param option - option code to be looked up. ***/ boolean _stateIsDo(int option) @@ -201,9 +201,9 @@ class Telnet extends SocketClient /*** * Looks for the state of the option. - * <p> + * * @return returns true if a dont has been acknowledged - * <p> + * * @param option - option code to be looked up. ***/ boolean _stateIsDont(int option) @@ -213,9 +213,9 @@ class Telnet extends SocketClient /*** * Looks for the state of the option. - * <p> + * * @return returns true if a will has been reuqested - * <p> + * * @param option - option code to be looked up. ***/ boolean _requestedWill(int option) @@ -225,9 +225,9 @@ class Telnet extends SocketClient /*** * Looks for the state of the option. - * <p> + * * @return returns true if a wont has been reuqested - * <p> + * * @param option - option code to be looked up. ***/ boolean _requestedWont(int option) @@ -237,9 +237,9 @@ class Telnet extends SocketClient /*** * Looks for the state of the option. - * <p> + * * @return returns true if a do has been reuqested - * <p> + * * @param option - option code to be looked up. ***/ boolean _requestedDo(int option) @@ -249,9 +249,9 @@ class Telnet extends SocketClient /*** * Looks for the state of the option. - * <p> + * * @return returns true if a dont has been reuqested - * <p> + * * @param option - option code to be looked up. ***/ boolean _requestedDont(int option) @@ -261,7 +261,7 @@ class Telnet extends SocketClient /*** * Sets the state of the option. - * <p> + * * @param option - option code to be set. * @throws IOException ***/ @@ -290,7 +290,7 @@ class Telnet extends SocketClient /*** * Sets the state of the option. - * <p> + * * @param option - option code to be set. * @throws IOException ***/ @@ -319,7 +319,7 @@ class Telnet extends SocketClient /*** * Sets the state of the option. - * <p> + * * @param option - option code to be set. ***/ void _setWantWill(int option) @@ -329,7 +329,7 @@ class Telnet extends SocketClient /*** * Sets the state of the option. - * <p> + * * @param option - option code to be set. ***/ void _setWantDo(int option) @@ -339,7 +339,7 @@ class Telnet extends SocketClient /*** * Sets the state of the option. - * <p> + * * @param option - option code to be set. ***/ void _setWont(int option) @@ -356,7 +356,7 @@ class Telnet extends SocketClient /*** * Sets the state of the option. - * <p> + * * @param option - option code to be set. ***/ void _setDont(int option) @@ -373,7 +373,7 @@ class Telnet extends SocketClient /*** * Sets the state of the option. - * <p> + * * @param option - option code to be set. ***/ void _setWantWont(int option) @@ -383,7 +383,7 @@ class Telnet extends SocketClient /*** * Sets the state of the option. - * <p> + * * @param option - option code to be set. ***/ void _setWantDont(int option) @@ -731,7 +731,7 @@ class Telnet extends SocketClient /*** * Sends terminal type information. - * <p> + * * @throws IOException - Exception in I/O. ***/ final synchronized void _sendTerminalType() @@ -825,7 +825,7 @@ class Telnet extends SocketClient /*** * Called upon connection. - * <p> + * * @throws IOException - Exception in I/O. ***/ @Override @@ -1173,7 +1173,7 @@ class Telnet extends SocketClient /*** * Registers an OutputStream for spying what's going on in * the Telnet session. - * <p> + * * @param spystream - OutputStream on which session activity * will be echoed. ***/ @@ -1184,7 +1184,7 @@ class Telnet extends SocketClient /*** * Stops spying this Telnet. - * <p> + * ***/ void _stopSpyStream() { @@ -1193,7 +1193,7 @@ class Telnet extends SocketClient /*** * Sends a read char on the spy stream. - * <p> + * * @param ch - character read from the session ***/ void _spyRead(int ch) @@ -1222,7 +1222,7 @@ class Telnet extends SocketClient /*** * Sends a written char on the spy stream. - * <p> + * * @param ch - character written to the session ***/ void _spyWrite(int ch) @@ -1250,7 +1250,7 @@ class Telnet extends SocketClient /*** * Registers a notification handler to which will be sent * notifications of received telnet option negotiation commands. - * <p> + * * @param notifhand - TelnetNotificationHandler to be registered ***/ public void registerNotifHandler(TelnetNotificationHandler notifhand) @@ -1260,7 +1260,7 @@ class Telnet extends SocketClient /*** * Unregisters the current notification handler. - * <p> + * ***/ public void unregisterNotifHandler() { Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetClient.java URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetClient.java?rev=1652850&r1=1652849&r2=1652850&view=diff ============================================================================== --- commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetClient.java (original) +++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetClient.java Sun Jan 18 20:45:13 2015 @@ -39,8 +39,8 @@ import java.io.OutputStream; * When you finish using the streams, you must call * {@link #disconnect disconnect } rather than simply * closing the streams. - * <p> - * <p> + * + * * @author Bruno D'Avanzo ***/ @@ -88,7 +88,7 @@ public class TelnetClient extends Telnet /*** * Handles special connection requirements. - * <p> + * * @exception IOException If an error occurs during connection setup. ***/ @Override @@ -133,7 +133,7 @@ public class TelnetClient extends Telnet * Returns the telnet connection output stream. You should not close the * stream when you finish with it. Rather, you should call * {@link #disconnect disconnect }. - * <p> + * * @return The telnet connection output stream. ***/ public OutputStream getOutputStream() @@ -145,7 +145,7 @@ public class TelnetClient extends Telnet * Returns the telnet connection input stream. You should not close the * stream when you finish with it. Rather, you should call * {@link #disconnect disconnect }. - * <p> + * * @return The telnet connection input stream. ***/ public InputStream getInputStream() @@ -155,9 +155,9 @@ public class TelnetClient extends Telnet /*** * Returns the state of the option on the local side. - * <p> + * * @param option - Option to be checked. - * <p> + * * @return The state of the option on the local side. ***/ public boolean getLocalOptionState(int option) @@ -169,9 +169,9 @@ public class TelnetClient extends Telnet /*** * Returns the state of the option on the remote side. - * <p> + * * @param option - Option to be checked. - * <p> + * * @return The state of the option on the remote side. ***/ public boolean getRemoteOptionState(int option) @@ -186,11 +186,11 @@ public class TelnetClient extends Telnet /*** * Sends an Are You There sequence and waits for the result. - * <p> + * * @param timeout - Time to wait for a response (millis.) - * <p> + * * @return true if AYT received a response, false otherwise - * <p> + * * @throws InterruptedException on error * @throws IllegalArgumentException on error * @throws IOException on error @@ -252,9 +252,9 @@ public class TelnetClient extends Telnet /*** * Registers a new TelnetOptionHandler for this telnet client to use. - * <p> + * * @param opthand - option handler to be registered. - * <p> + * * @throws InvalidTelnetOptionException on error * @throws IOException on error ***/ @@ -268,9 +268,9 @@ public class TelnetClient extends Telnet /*** * Unregisters a TelnetOptionHandler. - * <p> + * * @param optcode - Code of the option to be unregistered. - * <p> + * * @throws InvalidTelnetOptionException on error * @throws IOException on error ***/ @@ -285,7 +285,7 @@ public class TelnetClient extends Telnet /*** * Registers an OutputStream for spying what's going on in * the TelnetClient session. - * <p> + * * @param spystream - OutputStream on which session activity * will be echoed. ***/ @@ -296,7 +296,7 @@ public class TelnetClient extends Telnet /*** * Stops spying this TelnetClient. - * <p> + * ***/ public void stopSpyStream() { @@ -307,7 +307,7 @@ public class TelnetClient extends Telnet /*** * Registers a notification handler to which will be sent * notifications of received telnet option negotiation commands. - * <p> + * * @param notifhand - TelnetNotificationHandler to be registered ***/ @Override @@ -318,7 +318,7 @@ public class TelnetClient extends Telnet /*** * Unregisters the current notification handler. - * <p> + * ***/ @Override public void unregisterNotifHandler() @@ -359,7 +359,7 @@ public class TelnetClient extends Telnet /*** * Gets the status of the reader thread. - * <p> + * * @return true if the reader thread is enabled, false otherwise ***/ public boolean getReaderThread() Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetNotificationHandler.java URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetNotificationHandler.java?rev=1652850&r1=1652849&r2=1652850&view=diff ============================================================================== --- commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetNotificationHandler.java (original) +++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetNotificationHandler.java Sun Jan 18 20:45:13 2015 @@ -25,8 +25,8 @@ package org.apache.commons.net.telnet; * The user can implement this interface and register a * TelnetNotificationHandler by using the registerNotificationHandler() * of TelnetClient to be notified of option negotiation commands. - * <p> - * <p> + * + * * @author Bruno D'Avanzo ***/ @@ -61,12 +61,11 @@ public interface TelnetNotificationHandl /*** * Callback method called when TelnetClient receives an * command or option negotiation command - * <p> + * * @param negotiation_code - type of (negotiation) command received * (RECEIVED_DO, RECEIVED_DONT, RECEIVED_WILL, RECEIVED_WONT, RECEIVED_COMMAND) - * <p> + * * @param option_code - code of the option negotiated, or the command code itself (e.g. NOP). - * <p> ***/ public void receivedNegotiation(int negotiation_code, int option_code); } Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetOption.java URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetOption.java?rev=1652850&r1=1652849&r2=1652850&view=diff ============================================================================== --- commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetOption.java (original) +++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetOption.java Sun Jan 18 20:45:13 2015 @@ -22,8 +22,8 @@ package org.apache.commons.net.telnet; * storehouse for telnet option constants. * <p> * Details regarding Telnet option specification can be found in RFC 855. - * <p> - * <p> + * + * * @see org.apache.commons.net.telnet.Telnet * @see org.apache.commons.net.telnet.TelnetClient ***/ @@ -158,7 +158,7 @@ public class TelnetOption /*** * Returns the string representation of the telnet protocol option * corresponding to the given option code. - * <p> + * * @param code The option code of the telnet protocol option * @return The string representation of the telnet protocol option. ***/ @@ -178,7 +178,7 @@ public class TelnetOption /*** * Determines if a given option code is valid. Returns true if valid, * false if not. - * <p> + * * @param code The option code to test. * @return True if the option code is valid, false if not. **/ Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTP.java URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTP.java?rev=1652850&r1=1652849&r2=1652850&view=diff ============================================================================== --- commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTP.java (original) +++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTP.java Sun Jan 18 20:45:13 2015 @@ -37,8 +37,8 @@ import org.apache.commons.net.DatagramSo * Details regarding the TFTP protocol and the format of TFTP packets can * be found in RFC 783. But the point of these classes is to keep you * from having to worry about the internals. - * <p> - * <p> + * + * * @see org.apache.commons.net.DatagramSocketClient * @see TFTPPacket * @see TFTPPacketException @@ -111,7 +111,7 @@ public class TFTP extends DatagramSocket * Returns the TFTP string representation of a TFTP transfer mode. * Will throw an ArrayIndexOutOfBoundsException if an invalid transfer * mode is specified. - * <p> + * * @param mode The TFTP transfer mode. One of the MODE constants. * @return The TFTP string representation of the TFTP transfer mode. ***/ @@ -135,7 +135,7 @@ public class TFTP extends DatagramSocket * This method synchronizes a connection by discarding all packets that * may be in the local socket buffer. This method need only be called * when you implement your own TFTP client or server. - * <p> + * * @exception IOException if an I/O error occurs. ***/ public final void discardPackets() throws IOException @@ -181,7 +181,7 @@ public class TFTP extends DatagramSocket * have a reference to the internal byte buffer. You must finish using * this data before calling bufferedReceive() again, or else the data * will be overwritten by the the call. - * <p> + * * @return The TFTPPacket received. * @exception InterruptedIOException If a socket timeout occurs. The * Java documentation claims an InterruptedIOException is thrown @@ -218,7 +218,7 @@ public class TFTP extends DatagramSocket * have a reference to the internal byte buffer. You must finish using * this data before calling bufferedReceive() again, or else the data * will be overwritten by the the call. - * <p> + * * @param packet The TFTP packet to send. * @exception IOException If some I/O error occurs. ***/ @@ -260,7 +260,7 @@ public class TFTP extends DatagramSocket /*** * Sends a TFTP packet to its destination. - * <p> + * * @param packet The TFTP packet to send. * @exception IOException If some I/O error occurs. ***/ @@ -272,7 +272,7 @@ public class TFTP extends DatagramSocket /*** * Receives a TFTPPacket. - * <p> + * * @return The TFTPPacket received. * @exception InterruptedIOException If a socket timeout occurs. The * Java documentation claims an InterruptedIOException is thrown Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPAckPacket.java URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPAckPacket.java?rev=1652850&r1=1652849&r2=1652850&view=diff ============================================================================== --- commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPAckPacket.java (original) +++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPAckPacket.java Sun Jan 18 20:45:13 2015 @@ -34,8 +34,8 @@ import java.net.InetAddress; * and * {@link org.apache.commons.net.tftp.TFTPClient#sendFile sendFile()} * methods. - * <p> - * <p> + * + * * @see TFTPPacket * @see TFTPPacketException * @see TFTP @@ -49,7 +49,7 @@ public final class TFTPAckPacket extends /*** * Creates an acknowledgment packet to be sent to a host at a given port * acknowledging receipt of a block. - * <p> + * * @param destination The host to which the packet is going to be sent. * @param port The port to which the packet is going to be sent. * @param blockNumber The block number being acknowledged. @@ -64,7 +64,7 @@ public final class TFTPAckPacket extends * Creates an acknowledgement packet based from a received * datagram. Assumes the datagram is at least length 4, else an * ArrayIndexOutOfBoundsException may be thrown. - * <p> + * * @param datagram The datagram containing the received acknowledgement. * @throws TFTPPacketException If the datagram isn't a valid TFTP * acknowledgement packet. @@ -90,7 +90,7 @@ public final class TFTPAckPacket extends * It takes a datagram as an argument, and a byte buffer in which * to store the raw datagram data. Inside the method, the data * is set as the datagram's data and the datagram returned. - * <p> + * * @param datagram The datagram to create. * @param data The buffer to store the packet and to use in the datagram. * @return The datagram argument. @@ -120,7 +120,7 @@ public final class TFTPAckPacket extends * the {@link org.apache.commons.net.tftp.TFTPClient} * class. Under normal circumstances, you should not have a need to call this * method. - * <p> + * * @return A UDP datagram containing the TFTP acknowledgement packet. ***/ @Override @@ -140,7 +140,7 @@ public final class TFTPAckPacket extends /*** * Returns the block number of the acknowledgement. - * <p> + * * @return The block number of the acknowledgement. ***/ public int getBlockNumber() Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPClient.java URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPClient.java?rev=1652850&r1=1652849&r2=1652850&view=diff ============================================================================== --- commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPClient.java (original) +++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPClient.java Sun Jan 18 20:45:13 2015 @@ -46,8 +46,8 @@ import org.apache.commons.net.io.ToNetAS * Details regarding the TFTP protocol and the format of TFTP packets can * be found in RFC 783. But the point of these classes is to keep you * from having to worry about the internals. - * <p> - * <p> + * + * * @see TFTP * @see TFTPPacket * @see TFTPPacketException @@ -80,7 +80,7 @@ public class TFTPClient extends TFTP * timeout during a receiveFile() or sendFile() operation before ending * attempts to retry the receive and failing. * The default is DEFAULT_MAX_TIMEOUTS. - * <p> + * * @param numTimeouts The maximum number of timeouts to allow. Values * less than 1 should not be used, but if they are, they are * treated as 1. @@ -97,7 +97,7 @@ public class TFTPClient extends TFTP /*** * Returns the maximum number of times a receive attempt is allowed to * timeout before ending attempts to retry the receive and failing. - * <p> + * * @return The maximum number of timeouts allowed. ***/ public int getMaxTimeouts() @@ -113,7 +113,7 @@ public class TFTPClient extends TFTP * {@link org.apache.commons.net.DatagramSocketClient#open open()} before * invoking this method. This method will not close the OutputStream * containing the file; you must close it after the method invocation. - * <p> + * * @param filename The name of the file to receive. * @param mode The TFTP mode of the transfer (one of the MODE constants). * @param output The OutputStream to which the file should be written. @@ -294,7 +294,7 @@ _receivePacket: * {@link org.apache.commons.net.DatagramSocketClient#open open()} before * invoking this method. This method will not close the OutputStream * containing the file; you must close it after the method invocation. - * <p> + * * @param filename The name of the file to receive. * @param mode The TFTP mode of the transfer (one of the MODE constants). * @param output The OutputStream to which the file should be written. @@ -357,7 +357,7 @@ _receivePacket: * {@link org.apache.commons.net.DatagramSocketClient#open open()} before * invoking this method. This method will not close the InputStream * containing the file; you must close it after the method invocation. - * <p> + * * @param filename The name the remote server should use when creating * the file on its file system. * @param mode The TFTP mode of the transfer (one of the MODE constants). @@ -553,7 +553,7 @@ _receivePacket: * {@link org.apache.commons.net.DatagramSocketClient#open open()} before * invoking this method. This method will not close the InputStream * containing the file; you must close it after the method invocation. - * <p> + * * @param filename The name the remote server should use when creating * the file on its file system. * @param mode The TFTP mode of the transfer (one of the MODE constants). Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPDataPacket.java URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPDataPacket.java?rev=1652850&r1=1652849&r2=1652850&view=diff ============================================================================== --- commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPDataPacket.java (original) +++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPDataPacket.java Sun Jan 18 20:45:13 2015 @@ -34,8 +34,8 @@ import java.net.InetAddress; * and * {@link org.apache.commons.net.tftp.TFTPClient#sendFile sendFile()} * methods. - * <p> - * <p> + * + * * @see TFTPPacket * @see TFTPPacketException * @see TFTP @@ -68,7 +68,7 @@ public final class TFTPDataPacket extend * the byte array where the data starts. The length is the length of * the data. If the length is greater than MAX_DATA_LENGTH, it is * truncated. - * <p> + * * @param destination The host to which the packet is going to be sent. * @param port The port to which the packet is going to be sent. * @param blockNumber The block number of the data. @@ -103,7 +103,7 @@ public final class TFTPDataPacket extend * Creates a data packet based from a received * datagram. Assumes the datagram is at least length 4, else an * ArrayIndexOutOfBoundsException may be thrown. - * <p> + * * @param datagram The datagram containing the received data. * @throws TFTPPacketException If the datagram isn't a valid TFTP * data packet. @@ -134,7 +134,7 @@ public final class TFTPDataPacket extend * It takes a datagram as an argument, and a byte buffer in which * to store the raw datagram data. Inside the method, the data * is set as the datagram's data and the datagram returned. - * <p> + * * @param datagram The datagram to create. * @param data The buffer to store the packet and to use in the datagram. * @return The datagram argument. @@ -169,7 +169,7 @@ public final class TFTPDataPacket extend * class. * Under normal circumstances, you should not have a need to call this * method. - * <p> + * * @return A UDP datagram containing the TFTP data packet. ***/ @Override @@ -190,7 +190,7 @@ public final class TFTPDataPacket extend /*** * Returns the block number of the data packet. - * <p> + * * @return The block number of the data packet. ***/ public int getBlockNumber() @@ -206,7 +206,7 @@ public final class TFTPDataPacket extend /*** * Sets the data for the data packet. - * <p> + * * @param data The byte array containing the data. * @param offset The offset into the array where the data starts. * @param length The length of the data. @@ -226,7 +226,7 @@ public final class TFTPDataPacket extend /*** * Returns the length of the data part of the data packet. - * <p> + * * @return The length of the data part of the data packet. ***/ public int getDataLength() @@ -237,7 +237,7 @@ public final class TFTPDataPacket extend /*** * Returns the offset into the byte array where the packet data actually * starts. - * <p> + * * @return The offset into the byte array where the packet data actually * starts. ***/ @@ -248,7 +248,7 @@ public final class TFTPDataPacket extend /*** * Returns the byte array containing the packet data. - * <p> + * * @return The byte array containing the packet data. ***/ public byte[] getData() Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPErrorPacket.java URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPErrorPacket.java?rev=1652850&r1=1652849&r2=1652850&view=diff ============================================================================== --- commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPErrorPacket.java (original) +++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPErrorPacket.java Sun Jan 18 20:45:13 2015 @@ -34,8 +34,8 @@ import java.net.InetAddress; * and * {@link org.apache.commons.net.tftp.TFTPClient#sendFile sendFile()} * methods. - * <p> - * <p> + * + * * @see TFTPPacket * @see TFTPPacketException * @see TFTP @@ -78,7 +78,7 @@ public final class TFTPErrorPacket exten /*** * Creates an error packet to be sent to a host at a given port * with an error code and error message. - * <p> + * * @param destination The host to which the packet is going to be sent. * @param port The port to which the packet is going to be sent. * @param error The error code of the packet. @@ -97,7 +97,7 @@ public final class TFTPErrorPacket exten * Creates an error packet based from a received * datagram. Assumes the datagram is at least length 4, else an * ArrayIndexOutOfBoundsException may be thrown. - * <p> + * * @param datagram The datagram containing the received error. * @throws TFTPPacketException If the datagram isn't a valid TFTP * error packet. @@ -140,7 +140,7 @@ public final class TFTPErrorPacket exten * It takes a datagram as an argument, and a byte buffer in which * to store the raw datagram data. Inside the method, the data * is set as the datagram's data and the datagram returned. - * <p> + * * @param datagram The datagram to create. * @param data The buffer to store the packet and to use in the datagram. * @return The datagram argument. @@ -179,7 +179,7 @@ public final class TFTPErrorPacket exten * class. * Under normal circumstances, you should not have a need to call this * method. - * <p> + * * @return A UDP datagram containing the TFTP error packet. ***/ @Override @@ -206,7 +206,7 @@ public final class TFTPErrorPacket exten /*** * Returns the error code of the packet. - * <p> + * * @return The error code of the packet. ***/ public int getError() @@ -217,7 +217,7 @@ public final class TFTPErrorPacket exten /*** * Returns the error message of the packet. - * <p> + * * @return The error message of the packet. ***/ public String getMessage() Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPPacket.java URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPPacket.java?rev=1652850&r1=1652849&r2=1652850&view=diff ============================================================================== --- commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPPacket.java (original) +++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPPacket.java Sun Jan 18 20:45:13 2015 @@ -37,8 +37,8 @@ import java.net.InetAddress; * and * {@link org.apache.commons.net.tftp.TFTPClient#sendFile sendFile()} * methods. - * <p> - * <p> + * + * * @see TFTPPacketException * @see TFTP ***/ @@ -115,7 +115,7 @@ public abstract class TFTPPacket * encapsulating the data contained in that datagram. This method is the * only way you can instantiate a TFTPPacket derived class from a * datagram. - * <p> + * * @param datagram The datagram containing a TFTP packet. * @return The TFTPPacket object corresponding to the datagram. * @exception TFTPPacketException If the datagram does not contain a valid @@ -162,7 +162,7 @@ public abstract class TFTPPacket /*** * This constructor is not visible outside of the package. It is used * by subclasses within the package to initialize base data. - * <p> + * * @param type The type of the packet. * @param address The host the packet came from or is going to be sent. * @param port The port the packet came from or is going to be sent. @@ -180,7 +180,7 @@ public abstract class TFTPPacket * It takes a datagram as an argument, and a byte buffer in which * to store the raw datagram data. Inside the method, the data * should be set as the datagram's data and the datagram returned. - * <p> + * * @param datagram The datagram to create. * @param data The buffer to store the packet and to use in the datagram. * @return The datagram argument. @@ -196,14 +196,14 @@ public abstract class TFTPPacket * class. * Under normal circumstances, you should not have a need to call this * method. - * <p> + * * @return A UDP datagram containing the TFTP packet. ***/ public abstract DatagramPacket newDatagram(); /*** * Returns the type of the packet. - * <p> + * * @return The type of the packet. ***/ public final int getType() @@ -214,7 +214,7 @@ public abstract class TFTPPacket /*** * Returns the address of the host where the packet is going to be sent * or where it came from. - * <p> + * * @return The type of the packet. ***/ public final InetAddress getAddress() @@ -225,7 +225,7 @@ public abstract class TFTPPacket /*** * Returns the port where the packet is going to be sent * or where it came from. - * <p> + * * @return The port where the packet came from or where it is going. ***/ public final int getPort() Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPPacketException.java URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPPacketException.java?rev=1652850&r1=1652849&r2=1652850&view=diff ============================================================================== --- commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPPacketException.java (original) +++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPPacketException.java Sun Jan 18 20:45:13 2015 @@ -29,8 +29,8 @@ package org.apache.commons.net.tftp; * and * {@link org.apache.commons.net.tftp.TFTPClient#sendFile sendFile()} * methods provide. - * <p> - * <p> + * + * * @see TFTPPacket * @see TFTP ***/ Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPReadRequestPacket.java URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPReadRequestPacket.java?rev=1652850&r1=1652849&r2=1652850&view=diff ============================================================================== --- commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPReadRequestPacket.java (original) +++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPReadRequestPacket.java Sun Jan 18 20:45:13 2015 @@ -34,8 +34,8 @@ import java.net.InetAddress; * and * {@link org.apache.commons.net.tftp.TFTPClient#sendFile sendFile()} * methods. - * <p> - * <p> + * + * * @see TFTPPacket * @see TFTPRequestPacket * @see TFTPPacketException @@ -48,7 +48,7 @@ public final class TFTPReadRequestPacket /*** * Creates a read request packet to be sent to a host at a * given port with a filename and transfer mode request. - * <p> + * * @param destination The host to which the packet is going to be sent. * @param port The port to which the packet is going to be sent. * @param filename The requested filename. @@ -66,7 +66,7 @@ public final class TFTPReadRequestPacket * datagram and assumes the datagram has already been identified as a * read request. Assumes the datagram is at least length 4, else an * ArrayIndexOutOfBoundsException may be thrown. - * <p> + * * @param datagram The datagram containing the received request. * @throws TFTPPacketException If the datagram isn't a valid TFTP * request packet. Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPRequestPacket.java URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPRequestPacket.java?rev=1652850&r1=1652849&r2=1652850&view=diff ============================================================================== --- commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPRequestPacket.java (original) +++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPRequestPacket.java Sun Jan 18 20:45:13 2015 @@ -38,8 +38,8 @@ import java.net.InetAddress; * and * {@link org.apache.commons.net.tftp.TFTPClient#sendFile sendFile()} * methods. - * <p> - * <p> + * + * * @see TFTPPacket * @see TFTPReadRequestPacket * @see TFTPWriteRequestPacket @@ -75,7 +75,7 @@ public abstract class TFTPRequestPacket /*** * Creates a request packet of a given type to be sent to a host at a * given port with a filename and transfer mode request. - * <p> + * * @param destination The host to which the packet is going to be sent. * @param port The port to which the packet is going to be sent. * @param type The type of the request (either TFTPPacket.READ_REQUEST or @@ -97,7 +97,7 @@ public abstract class TFTPRequestPacket * Creates a request packet of a given type based on a received * datagram. Assumes the datagram is at least length 4, else an * ArrayIndexOutOfBoundsException may be thrown. - * <p> + * * @param type The type of the request (either TFTPPacket.READ_REQUEST or * TFTPPacket.WRITE_REQUEST). * @param datagram The datagram containing the received request. @@ -171,7 +171,7 @@ public abstract class TFTPRequestPacket * It takes a datagram as an argument, and a byte buffer in which * to store the raw datagram data. Inside the method, the data * is set as the datagram's data and the datagram returned. - * <p> + * * @param datagram The datagram to create. * @param data The buffer to store the packet and to use in the datagram. * @return The datagram argument. @@ -207,7 +207,7 @@ public abstract class TFTPRequestPacket * the {@link org.apache.commons.net.tftp.TFTPClient} * class. Under normal circumstances, you should not have a need to call * this method. - * <p> + * * @return A UDP datagram containing the TFTP request packet. ***/ @Override @@ -232,7 +232,7 @@ public abstract class TFTPRequestPacket /*** * Returns the transfer mode of the request. - * <p> + * * @return The transfer mode of the request. ***/ public final int getMode() @@ -242,7 +242,7 @@ public abstract class TFTPRequestPacket /*** * Returns the requested filename. - * <p> + * * @return The requested filename. ***/ public final String getFilename() Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPWriteRequestPacket.java URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPWriteRequestPacket.java?rev=1652850&r1=1652849&r2=1652850&view=diff ============================================================================== --- commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPWriteRequestPacket.java (original) +++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPWriteRequestPacket.java Sun Jan 18 20:45:13 2015 @@ -34,8 +34,8 @@ import java.net.InetAddress; * and * {@link org.apache.commons.net.tftp.TFTPClient#sendFile sendFile()} * methods. - * <p> - * <p> + * + * * @see TFTPPacket * @see TFTPRequestPacket * @see TFTPPacketException @@ -48,7 +48,7 @@ public final class TFTPWriteRequestPacke /*** * Creates a write request packet to be sent to a host at a * given port with a filename and transfer mode request. - * <p> + * * @param destination The host to which the packet is going to be sent. * @param port The port to which the packet is going to be sent. * @param filename The requested filename. @@ -66,7 +66,7 @@ public final class TFTPWriteRequestPacke * datagram and assumes the datagram has already been identified as a * write request. Assumes the datagram is at least length 4, else an * ArrayIndexOutOfBoundsException may be thrown. - * <p> + * * @param datagram The datagram containing the received request. * @throws TFTPPacketException If the datagram isn't a valid TFTP * request packet. Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/time/TimeTCPClient.java URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/time/TimeTCPClient.java?rev=1652850&r1=1652849&r2=1652850&view=diff ============================================================================== --- commons/proper/net/trunk/src/main/java/org/apache/commons/net/time/TimeTCPClient.java (original) +++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/time/TimeTCPClient.java Sun Jan 18 20:45:13 2015 @@ -32,8 +32,8 @@ import org.apache.commons.net.SocketClie * {@link #getDate getDate() } to retrieve the time, then * call {@link org.apache.commons.net.SocketClient#disconnect disconnect } * to close the connection properly. - * <p> - * <p> + * + * * @see TimeUDPClient ***/ @@ -72,7 +72,7 @@ public final class TimeTCPClient extends * initiate another connection with * {@link org.apache.commons.net.SocketClient#connect connect } * before calling <code> getTime() </code> again. - * <p> + * * @return The time value retrieved from the server. * @exception IOException If an error occurs while fetching the time. ***/ @@ -94,7 +94,7 @@ public final class TimeTCPClient extends * initiate another connection with * {@link org.apache.commons.net.SocketClient#connect connect } * before calling <code> getDate() </code> again. - * <p> + * * @return A Date value containing the time retrieved from the server * converted to the local timezone. * @exception IOException If an error occurs while fetching the time. Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/time/TimeUDPClient.java URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/time/TimeUDPClient.java?rev=1652850&r1=1652849&r2=1652850&view=diff ============================================================================== --- commons/proper/net/trunk/src/main/java/org/apache/commons/net/time/TimeUDPClient.java (original) +++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/time/TimeUDPClient.java Sun Jan 18 20:45:13 2015 @@ -38,8 +38,8 @@ import org.apache.commons.net.DatagramSo * {@link #getDate getDate } are permitted * without re-establishing a connection. That is because UDP is a * connectionless protocol and the Time protocol is stateless. - * <p> - * <p> + * + * * @see TimeTCPClient ***/ @@ -65,7 +65,7 @@ public final class TimeUDPClient extends * This method reads the raw 32-bit big-endian * unsigned integer from the server, converts it to a Java long, and * returns the value. - * <p> + * * @param host The address of the server. * @param port The port of the service. * @return The time value retrieved from the server. @@ -102,7 +102,7 @@ public final class TimeUDPClient extends /*** * Retrieves the time from the server and returns a Java Date * containing the time converted to the local timezone. - * <p> + * * @param host The address of the server. * @param port The port of the service. * @return A Date value containing the time retrieved from the server Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/whois/WhoisClient.java URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/whois/WhoisClient.java?rev=1652850&r1=1652849&r2=1652850&view=diff ============================================================================== --- commons/proper/net/trunk/src/main/java/org/apache/commons/net/whois/WhoisClient.java (original) +++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/whois/WhoisClient.java Sun Jan 18 20:45:13 2015 @@ -44,8 +44,8 @@ import org.apache.commons.net.finger.Fin * } * </pre> * - * <p> - * <p> + * + * ***/ public final class WhoisClient extends FingerClient @@ -75,7 +75,7 @@ public final class WhoisClient extends F * the given handle. It is up to the programmer to be familiar with the * handle syntax of the whois server. You must first connect to a whois * server before calling this method, and you should disconnect afterward. - * <p> + * * @param handle The handle to lookup. * @return The result of the whois query. * @exception IOException If an I/O error occurs during the operation. @@ -93,7 +93,7 @@ public final class WhoisClient extends F * of the whois server. You must first connect to a finger server before * calling this method, and you should disconnect after finishing reading * the stream. - * <p> + * * @param handle The handle to lookup. * @return The InputStream of the network connection of the whois query. * Can be read to obtain whois results.