提交 75203d52 编写于 作者: D darcy

8020810: Typo in javadoc for Class.toGenericString()

Reviewed-by: dholmes
上级 a1a03ca4
...@@ -157,10 +157,10 @@ public final class Class<T> implements java.io.Serializable, ...@@ -157,10 +157,10 @@ public final class Class<T> implements java.io.Serializable,
* *
* The string is formatted as a list of type modifiers, if any, * The string is formatted as a list of type modifiers, if any,
* followed by the kind of type (empty string for primitive types * followed by the kind of type (empty string for primitive types
* and {@code class}, {@code enum}, {@code interface}, or {@code * and {@code class}, {@code enum}, {@code interface}, or
* &#64;interface}, as appropriate), followed by the type's name, * <code>&#64;</code>{@code interface}, as appropriate), followed
* followed by an angle-bracketed comma-separated list of the * by the type's name, followed by an angle-bracketed
* type's type parameters, if any. * comma-separated list of the type's type parameters, if any.
* *
* A space is used to separate modifiers from one another and to * A space is used to separate modifiers from one another and to
* separate any modifiers from the kind of type. The modifiers * separate any modifiers from the kind of type. The modifiers
......
...@@ -162,7 +162,7 @@ public final class Parameter implements AnnotatedElement { ...@@ -162,7 +162,7 @@ public final class Parameter implements AnnotatedElement {
/** /**
* Returns the name of the parameter. If the parameter's name is * 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 * the name provided by the class file. Otherwise, this method
* synthesizes a name of the form argN, where N is the index of * synthesizes a name of the form argN, where N is the index of
* the parameter in the descriptor of the method which declares * the parameter in the descriptor of the method which declares
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册