src/share/classes/java/lang/reflect/Parameter.java

Print this page
rev 10452 : imported patch lang-Typos

@@ -171,11 +171,11 @@
      * @return The name of the parameter, either provided by the class
      *         file or synthesized if the class file does not provide
      *         a name.
      */
     public String getName() {
-        // Note: empty strings as paramete names are now outlawed.
+        // Note: empty strings as parameter names are now outlawed.
         // The .equals("") is for compatibility with current JVM
         // behavior.  It may be removed at some point.
         if(name == null || name.equals(""))
             return "arg" + index;
         else