提交 756303fc 编写于 作者: D darcy

8029478: Fix more doclint issues in javax.script

Reviewed-by: chegar, mduigou
上级 8b6f7071
...@@ -144,7 +144,7 @@ public interface ScriptEngineFactory { ...@@ -144,7 +144,7 @@ public interface ScriptEngineFactory {
* Returns a String which can be used to invoke a method of a Java object using the syntax * Returns a String which can be used to invoke a method of a Java object using the syntax
* of the supported scripting language. For instance, an implementation for a Javascript * of the supported scripting language. For instance, an implementation for a Javascript
* engine might be; * engine might be;
* <p> *
* <pre>{@code * <pre>{@code
* public String getMethodCallSyntax(String obj, * public String getMethodCallSyntax(String obj,
* String m, String... args) { * String m, String... args) {
...@@ -180,7 +180,7 @@ public interface ScriptEngineFactory { ...@@ -180,7 +180,7 @@ public interface ScriptEngineFactory {
* Returns a String that can be used as a statement to display the specified String using * Returns a String that can be used as a statement to display the specified String using
* the syntax of the supported scripting language. For instance, the implementation for a Perl * the syntax of the supported scripting language. For instance, the implementation for a Perl
* engine might be; * engine might be;
* <p> *
* <pre><code> * <pre><code>
* public String getOutputStatement(String toDisplay) { * public String getOutputStatement(String toDisplay) {
* return "print(" + toDisplay + ")"; * return "print(" + toDisplay + ")";
...@@ -198,7 +198,7 @@ public interface ScriptEngineFactory { ...@@ -198,7 +198,7 @@ public interface ScriptEngineFactory {
/** /**
* Returns a valid scripting language executable program with given statements. * Returns a valid scripting language executable program with given statements.
* For instance an implementation for a PHP engine might be: * For instance an implementation for a PHP engine might be:
* <p> *
* <pre>{@code * <pre>{@code
* public String getProgram(String... statements) { * public String getProgram(String... statements) {
* String retval = "<?\n"; * String retval = "<?\n";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册