jdk/src/share/classes/java/net/Socket.java
changeset 18274 7c4289125569
parent 18251 3743160a4cb8
parent 18156 edb590d448c5
child 19069 1d9cb0d080e3
--- a/jdk/src/share/classes/java/net/Socket.java	Fri Jun 14 16:38:13 2013 +0100
+++ b/jdk/src/share/classes/java/net/Socket.java	Mon Jun 17 11:26:16 2013 +0100
@@ -1108,7 +1108,7 @@
      *  expires, a <B>java.net.SocketTimeoutException</B> is raised, though the
      *  Socket is still valid. The option <B>must</B> be enabled
      *  prior to entering the blocking operation to have effect. The
-     *  timeout must be > 0.
+     *  timeout must be {@code > 0}.
      *  A timeout of zero is interpreted as an infinite timeout.
      *
      * @param timeout the specified timeout, in milliseconds.
@@ -1317,8 +1317,8 @@
      * As the underlying network implementation may ignore this
      * value applications should consider it a hint.
      *
-     * <P> The tc <B>must</B> be in the range <code> 0 <= tc <=
-     * 255</code> or an IllegalArgumentException will be thrown.
+     * <P> The tc <B>must</B> be in the range {@code 0 <= tc <=
+     * 255} or an IllegalArgumentException will be thrown.
      * <p>Notes:
      * <p>For Internet Protocol v4 the value consists of an
      * <code>integer</code>, the least significant 8 bits of which