Skip to content

Commit 9451bc7

Browse files
rPramlgbrail
authored andcommitted
Fix javadoc generation
1 parent 2fdc1ef commit 9451bc7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

rhino/src/main/java/org/mozilla/javascript/ScriptRuntime.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1618,7 +1618,7 @@ static Object getIndexObject(double d) {
16181618
* Helper to return a string or an integer. Always use a null check on s.stringId to determine
16191619
* if the result is string or integer.
16201620
*
1621-
* @see ScriptRuntime#toStringIdOrIndex(Context, Object)
1621+
* @see ScriptRuntime#toStringIdOrIndex(Object)
16221622
*/
16231623
public static final class StringIdOrIndex {
16241624
final String stringId;
@@ -2362,7 +2362,7 @@ public static void setEnumNumbers(Object enumObj, boolean enumNumbers) {
23622362
((IdEnumeration) enumObj).enumNumbers = enumNumbers;
23632363
}
23642364

2365-
/** @deprecated since 1.7.15. Use {@link #enumNext(Context, Object)} instead */
2365+
/** @deprecated since 1.7.15. Use {@link #enumNext(Object, Context)} instead */
23662366
@Deprecated
23672367
public static Boolean enumNext(Object enumObj) {
23682368
return enumNext(enumObj, Context.getContext());

rhino/src/main/java/org/mozilla/javascript/Scriptable.java

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ public interface Scriptable {
4949
* <code>get</code> that takes an integer:
5050
*
5151
* <table>
52+
* <caption style="display:none">Code examples</caption>
5253
* <tr><th>JavaScript code</th><th>Java code</th></tr>
5354
* <tr><td>a.b </td><td>a.get("b", a)</td></tr>
5455
* <tr><td>a["foo"] </td><td>a.get("foo", a)</td></tr>

0 commit comments

Comments
 (0)