jdk/src/share/classes/java/net/Socket.java
changeset 18156 edb590d448c5
parent 17469 e00a02431a8b
child 18274 7c4289125569
--- a/jdk/src/share/classes/java/net/Socket.java	Mon Jun 10 12:26:20 2013 +0200
+++ b/jdk/src/share/classes/java/net/Socket.java	Mon Jun 10 12:58:32 2013 +0100
@@ -1086,7 +1086,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.
@@ -1295,8 +1295,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