< prev index next >

src/java.naming/share/classes/com/sun/jndi/toolkit/url/Uri.java

Print this page

        

@@ -45,11 +45,11 @@
  * <p> It may be appropriate to drop this code in favor of the
  * java.net.URI class.  The changes would need to be written so as to
  * still run on pre-1.4 platforms not containing that class.
  *
  * <p> The format of an absolute URI (see the RFCs mentioned above) is:
- * <p><blockquote><pre>
+ * <blockquote><pre>{@code
  *      absoluteURI   = scheme ":" ( hier_part | opaque_part )
  *
  *      scheme        = alpha *( alpha | digit | "+" | "-" | "." )
  *
  *      hier_part     = ( net_path | abs_path ) [ "?" query ]

@@ -92,16 +92,16 @@
  *                      "$" | "," | "[" | "]"
  *      unreserved    = alphanum | mark
  *      mark          = "-" | "_" | "." | "!" | "~" | "*" | "'" | "(" | ")"
  *      escaped       = "%" hex hex
  *      unwise        = "{" | "}" | "|" | "\" | "^" | "`"
- * </pre></blockquote>
+ * }</pre></blockquote>
  *
- * <p> Currently URIs containing <tt>userinfo</tt> or <tt>reg_name</tt>
+ * <p> Currently URIs containing {@code userinfo} or {@code reg_name}
  * are not supported.
- * The <tt>opaque_part</tt> of a non-hierarchical URI is treated as if
- * if were a <tt>path</tt> without a leading slash.
+ * The {@code opaque_part} of a non-hierarchical URI is treated as if
+ * if were a {@code path} without a leading slash.
  */
 
 
 public class Uri {
 
< prev index next >