JDK 8 RFR of javax.script doclint fixes
Mike Duigou
mike.duigou at oracle.com
Tue Dec 3 17:53:19 UTC 2013
Approved.
On Dec 3 2013, at 09:49 , Joe Darcy <joe.darcy at oracle.com> wrote:
> Hello,
>
> Please review the patch before which addresses a handful of doclint issues in javax.script.
>
> Thanks,
>
> -Joe
>
> diff -r c11553506228 src/share/classes/javax/script/ScriptEngineFactory.java
> --- a/src/share/classes/javax/script/ScriptEngineFactory.java Tue Dec 03 08:53:23 2013 +0100
> +++ b/src/share/classes/javax/script/ScriptEngineFactory.java Tue Dec 03 09:48:11 2013 -0800
> @@ -144,7 +144,7 @@
> * 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 @@
> * 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 @@
> /**
> * 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";
>
More information about the core-libs-dev
mailing list