6604827: JavaDoc for ScriptEngineFactory.getMethodCallSyntax contains an error

Reviewed-by: mchung
This commit is contained in:
Athijegannathan Sundararajan 2011-02-11 10:38:10 +05:30
parent 81d9e046a3
commit 2c8d5d6472

View File

@ -152,12 +152,11 @@ public interface ScriptEngineFactory {
* ret += "." + m + "(";
* for (int i = 0; i < args.length; i++) {
* ret += args[i];
* if (i == args.length - 1) {
* ret += ")";
* } else {
* if (i < args.length - 1) {
* ret += ",";
* }
* }
* ret += ")";
* return ret;
* }
*</pre></code>