Skip to content

Commit

Permalink
Fix javadoc generation
Browse files Browse the repository at this point in the history
  • Loading branch information
rPraml authored and gbrail committed Aug 24, 2024
1 parent 2fdc1ef commit 9451bc7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rhino/src/main/java/org/mozilla/javascript/ScriptRuntime.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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());
Expand Down
1 change: 1 addition & 0 deletions rhino/src/main/java/org/mozilla/javascript/Scriptable.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ public interface Scriptable {
* <code>get</code> that takes an integer:
*
* <table>
* <caption style="display:none">Code examples</caption>
* <tr><th>JavaScript code</th><th>Java code</th></tr>
* <tr><td>a.b </td><td>a.get("b", a)</td></tr>
* <tr><td>a["foo"] </td><td>a.get("foo", a)</td></tr>
Expand Down

0 comments on commit 9451bc7

Please sign in to comment.