commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1414503 - /commons/proper/net/trunk/src/main/java/org/apache/commons/net/daytime/DaytimeUDPClient.java
Date Wed, 28 Nov 2012 01:40:46 GMT
Author: ggregory
Date: Wed Nov 28 01:40:45 2012
New Revision: 1414503

URL: http://svn.apache.org/viewvc?rev=1414503&view=rev
Log:
Fix funky Javadoc formatting.

Modified:
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/daytime/DaytimeUDPClient.java

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/daytime/DaytimeUDPClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/daytime/DaytimeUDPClient.java?rev=1414503&r1=1414502&r2=1414503&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/daytime/DaytimeUDPClient.java
(original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/daytime/DaytimeUDPClient.java
Wed Nov 28 01:40:45 2012
@@ -38,17 +38,16 @@ import org.apache.commons.net.DatagramSo
  * connectionless protocol and the Daytime protocol is stateless.
  * @see DaytimeTCPClient
  */
-
 public final class DaytimeUDPClient extends DatagramSocketClient
 {
-    /*** The default daytime port.  It is set to 13 according to RFC 867. ***/
+    /** The default daytime port.  It is set to 13 according to RFC 867. */
     public static final int DEFAULT_PORT = 13;
 
     private final byte[] __dummyData = new byte[1];
     // Received dates should be less than 256 bytes
     private final byte[] __timeData = new byte[256];
 
-    /***
+    /**
      * Retrieves the time string from the specified server and port and
      * returns it.
      * <p>
@@ -56,7 +55,7 @@ public final class DaytimeUDPClient exte
      * @param port The port of the service.
      * @return The time string.
      * @exception IOException If an error occurs while retrieving the time.
-     ***/
+     */
     public String getTime(InetAddress host, int port) throws IOException
     {
         DatagramPacket sendPacket, receivePacket;
@@ -71,7 +70,7 @@ public final class DaytimeUDPClient exte
         return new String(receivePacket.getData(), 0, receivePacket.getLength());
     }
 
-    /*** Same as <code>getTime(host, DaytimeUDPClient.DEFAULT_PORT);</code> ***/
+    /** Same as <code>getTime(host, DaytimeUDPClient.DEFAULT_PORT);</code> */
     public String getTime(InetAddress host) throws IOException
     {
         return getTime(host, DEFAULT_PORT);



Mime
View raw message