8020810: Typo in javadoc for Class.toGenericString()
authordarcy
Thu, 18 Jul 2013 23:16:52 -0700
changeset 19031 6c9afe6dad33
parent 19030 32f129cb6351
child 19032 e31afe87fb92
8020810: Typo in javadoc for Class.toGenericString() Reviewed-by: dholmes
jdk/src/share/classes/java/lang/Class.java
jdk/src/share/classes/java/lang/reflect/Parameter.java
--- a/jdk/src/share/classes/java/lang/Class.java	Thu Jul 18 11:02:02 2013 -0700
+++ b/jdk/src/share/classes/java/lang/Class.java	Thu Jul 18 23:16:52 2013 -0700
@@ -157,10 +157,10 @@
      *
      * The string is formatted as a list of type modifiers, if any,
      * followed by the kind of type (empty string for primitive types
-     * and {@code class}, {@code enum}, {@code interface}, or {@code
-     * @interface}, as appropriate), followed by the type's name,
-     * followed by an angle-bracketed comma-separated list of the
-     * type's type parameters, if any.
+     * and {@code class}, {@code enum}, {@code interface}, or
+     * <code>&#64;</code>{@code interface}, as appropriate), followed
+     * by the type's name, followed by an angle-bracketed
+     * comma-separated list of the type's type parameters, if any.
      *
      * A space is used to separate modifiers from one another and to
      * separate any modifiers from the kind of type. The modifiers
--- a/jdk/src/share/classes/java/lang/reflect/Parameter.java	Thu Jul 18 11:02:02 2013 -0700
+++ b/jdk/src/share/classes/java/lang/reflect/Parameter.java	Thu Jul 18 23:16:52 2013 -0700
@@ -162,7 +162,7 @@
 
     /**
      * Returns the name of the parameter.  If the parameter's name is
-     * {@linkplain isNamePresent() present}, then this method returns
+     * {@linkplain #isNamePresent() present}, then this method returns
      * the name provided by the class file. Otherwise, this method
      * synthesizes a name of the form argN, where N is the index of
      * the parameter in the descriptor of the method which declares