Skip to content

Commit

Permalink
remove a bunch of deprecated stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
rbri committed Aug 11, 2024
1 parent 3a10b49 commit eaa11cf
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions src/main/java/org/htmlunit/javascript/JavaScriptEngine.java
Original file line number Diff line number Diff line change
Expand Up @@ -737,16 +737,6 @@ protected String getSourceCode(final Context cx) {
return (Script) getContextFactory().callSecured(action, owningPage);
}

/**
* {@inheritDoc}
*/
@Override
@Deprecated
public Script compile(final HtmlPage owningPage, final String sourceCode,
final String sourceName, final int startLine) {
return compile(owningPage, owningPage.getEnclosingWindow().getScriptableObject(), sourceCode, sourceName, startLine);
}

/**
* Forwards this to the {@link HtmlUnitContextFactory} but with checking shutdown handling.
*
Expand Down Expand Up @@ -781,18 +771,6 @@ public Object execute(final HtmlPage page,
return execute(page, scope, script);
}

/**
* {@inheritDoc}
*/
@Override
@Deprecated
public Object execute(final HtmlPage page,
final String sourceCode,
final String sourceName,
final int startLine) {
return execute(page, page.getEnclosingWindow().getScriptableObject(), sourceCode, sourceName, startLine);
}

/**
* {@inheritDoc}
*/
Expand All @@ -818,15 +796,6 @@ protected String getSourceCode(final Context cx) {
return getContextFactory().callSecured(action, page);
}

/**
* {@inheritDoc}
*/
@Override
@Deprecated
public Object execute(final HtmlPage page, final Script script) {
return execute(page, page.getEnclosingWindow().getScriptableObject(), script);
}

/**
* Calls a JavaScript function and return the result.
* @param page the page
Expand Down

0 comments on commit eaa11cf

Please sign in to comment.