diff --git a/rhino/src/main/java/org/mozilla/javascript/ScriptRuntime.java b/rhino/src/main/java/org/mozilla/javascript/ScriptRuntime.java index 3dc542f6fe..337f7e0bba 100644 --- a/rhino/src/main/java/org/mozilla/javascript/ScriptRuntime.java +++ b/rhino/src/main/java/org/mozilla/javascript/ScriptRuntime.java @@ -1618,7 +1618,7 @@ static Object getIndexObject(double d) { * Helper to return a string or an integer. Always use a null check on s.stringId to determine * if the result is string or integer. * - * @see ScriptRuntime#toStringIdOrIndex(Context, Object) + * @see ScriptRuntime#toStringIdOrIndex(Object) */ public static final class StringIdOrIndex { final String stringId; @@ -2362,7 +2362,7 @@ public static void setEnumNumbers(Object enumObj, boolean enumNumbers) { ((IdEnumeration) enumObj).enumNumbers = enumNumbers; } - /** @deprecated since 1.7.15. Use {@link #enumNext(Context, Object)} instead */ + /** @deprecated since 1.7.15. Use {@link #enumNext(Object, Context)} instead */ @Deprecated public static Boolean enumNext(Object enumObj) { return enumNext(enumObj, Context.getContext()); diff --git a/rhino/src/main/java/org/mozilla/javascript/Scriptable.java b/rhino/src/main/java/org/mozilla/javascript/Scriptable.java index cc37012fb3..cc5896af10 100644 --- a/rhino/src/main/java/org/mozilla/javascript/Scriptable.java +++ b/rhino/src/main/java/org/mozilla/javascript/Scriptable.java @@ -49,6 +49,7 @@ public interface Scriptable { * get that takes an integer: * * + * * * *
Code examples
JavaScript codeJava code
a.b a.get("b", a)
a["foo"] a.get("foo", a)