Hi,

Will you please send output of "hg diff" cut pasted as body text in email?

regards,
-Sundar

On Tuesday 07 July 2015 02:35 PM, Ahmed Ashour wrote:
Hi all,
Please find below a proposed patch for the typos in 
javax.script.ScriptEngineFactory
Thanks,Ahmed


diff --git a/src/java.scripting/share/classes/javax/script/ScriptEngineFactory.java b/src/java.scripting/share/classes/javax/script/ScriptEngineFactory.java--- 
a/src/java.scripting/share/classes/javax/script/ScriptEngineFactory.java+++ b/src/java.scripting/share/classes/javax/script/ScriptEngineFactory.java@@ -160,7 
+160,6 @@      *      }      *      ret += ")";      *      return ret;-     * }      * } </pre>      *      * @param obj The name representing 
the object whose method is to be invoked. The@@ -190,8 +189,6 @@      *      * @param toDisplay The String to be displayed by the returned statement.      * 
@return The string used to display the String in the syntax of the scripting language.-     *-     *      */     public String getOutputStatement(String 
toDisplay); @@ -208,14 +205,12 @@      *          retval += statements[i] + ";\n";      *      }      *      return retval += "?>";-     
* }      * }</pre>      *      *  @param statements The statements to be executed.  May be return values of      *  calls to the 
<code>getMethodCallSyntax</code> and <code>getOutputStatement</code> methods.      *  @return The Program      */-     public String 
getProgram(String... statements);      /**@@ -225,5 +220,5 @@      *      * @return A new <code>ScriptEngine</code> instance.      */-    public  
ScriptEngine getScriptEngine();+    public ScriptEngine getScriptEngine(); }


Reply via email to