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

8029478: Fix more doclint issues in javax.script

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