jdk/src/java.base/share/classes/java/lang/reflect/Constructor.java
changeset 32033 bf24e33c7919
parent 29125 83b9bf8a6c2a
child 32834 e1dca5fe4de3
--- a/jdk/src/java.base/share/classes/java/lang/reflect/Constructor.java	Wed Aug 05 12:19:38 2015 -0700
+++ b/jdk/src/java.base/share/classes/java/lang/reflect/Constructor.java	Thu Aug 06 13:20:13 2015 +0300
@@ -286,9 +286,9 @@
      * followed by the fully-qualified name of the declaring class,
      * followed by a parenthesized, comma-separated list of the
      * constructor's formal parameter types.  For example:
-     * <pre>
+     * <pre>{@code
      *    public java.util.Hashtable(int,float)
-     * </pre>
+     * }</pre>
      *
      * <p>The only possible modifiers for constructors are the access
      * modifiers {@code public}, {@code protected} or
@@ -322,8 +322,8 @@
      *
      * If this constructor was declared to take a variable number of
      * arguments, instead of denoting the last parameter as
-     * "<tt><i>Type</i>[]</tt>", it is denoted as
-     * "<tt><i>Type</i>...</tt>".
+     * "<code><i>Type</i>[]</code>", it is denoted as
+     * "<code><i>Type</i>...</code>".
      *
      * A space is used to separate access modifiers from one another
      * and from the type parameters or return type.  If there are no