diff --git a/js/rhino/src/org/mozilla/javascript/NativeFunction.java b/js/rhino/src/org/mozilla/javascript/NativeFunction.java index 9325347c167..1392a3d954f 100644 --- a/js/rhino/src/org/mozilla/javascript/NativeFunction.java +++ b/js/rhino/src/org/mozilla/javascript/NativeFunction.java @@ -132,14 +132,14 @@ public abstract class NativeFunction extends BaseFunction /** * Get parameter or variable name. * If index < {@link #getParamCount()}, then return the name of the - * corresponding parameter. Otherwise returm the name of variable. + * corresponding parameter. Otherwise return the name of variable. */ protected abstract String getParamOrVarName(int index); /** * Get parameter or variable const-ness. * If index < {@link #getParamCount()}, then return the const-ness - * of the corresponding parameter. Otherwise returm whether the variable is + * of the corresponding parameter. Otherwise return whether the variable is * const. */ protected abstract boolean getParamOrVarConst(int index);