jdk/src/java.base/share/classes/java/lang/invoke/MemberName.java
changeset 32276 2d5fcc89e099
parent 29094 a4fd2b5e49f8
child 32986 ea54ac8672e7
--- a/jdk/src/java.base/share/classes/java/lang/invoke/MemberName.java	Tue Aug 25 18:45:09 2015 +0300
+++ b/jdk/src/java.base/share/classes/java/lang/invoke/MemberName.java	Tue Aug 25 19:45:07 2015 +0300
@@ -93,7 +93,7 @@
     /** Return the simple name of this member.
      *  For a type, it is the same as {@link Class#getSimpleName}.
      *  For a method or field, it is the simple name of the member.
-     *  For a constructor, it is always {@code "<init>"}.
+     *  For a constructor, it is always {@code "<init>"}.
      */
     public String getName() {
         if (name == null) {
@@ -727,7 +727,7 @@
     }
     /** Create a method or constructor name from the given components:
      *  Declaring class, name, type, reference kind.
-     *  It will be a constructor if and only if the name is {@code "&lt;init&gt;"}.
+     *  It will be a constructor if and only if the name is {@code "<init>"}.
      *  The declaring class may be supplied as null if this is to be a bare name and type.
      *  The last argument is optional, a boolean which requests REF_invokeSpecial.
      *  The resulting name will in an unresolved state.