ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgl...@apache.org
Subject svn commit: r483668 - in /ant/core/trunk/src/main/org/apache/tools/ant/util: ScriptRunnerBase.java optional/JavaxScriptRunner.java optional/ScriptRunner.java
Date Thu, 07 Dec 2006 21:07:40 GMT
Author: jglick
Date: Thu Dec  7 13:07:38 2006
New Revision: 483668

URL: http://svn.apache.org/viewvc?view=rev&rev=483668
Log:
Correcting typo.

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/util/ScriptRunnerBase.java
    ant/core/trunk/src/main/org/apache/tools/ant/util/optional/JavaxScriptRunner.java
    ant/core/trunk/src/main/org/apache/tools/ant/util/optional/ScriptRunner.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/util/ScriptRunnerBase.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/util/ScriptRunnerBase.java?view=diff&rev=483668&r1=483667&r2=483668
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/util/ScriptRunnerBase.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/util/ScriptRunnerBase.java Thu Dec  7 13:07:38
2006
@@ -32,8 +32,9 @@
 
 /**
  * This is a common abstract base case for script runners.
- * These classes need to implement executeScript, evalulateScript
+ * These classes need to implement executeScript, evaluateScript
  * and supportsLanguage.
+ * @since Ant 1.7.0
  */
 public abstract class ScriptRunnerBase {
     /** Whether to keep the engine between calls to execute/eval */
@@ -115,7 +116,7 @@
      *        execution.
      * @return the result of evalulating the script.
      */
-    public abstract Object evalulateScript(String execName);
+    public abstract Object evaluateScript(String execName);
 
     /**
      * Check if a script engine can be created for

Modified: ant/core/trunk/src/main/org/apache/tools/ant/util/optional/JavaxScriptRunner.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/util/optional/JavaxScriptRunner.java?view=diff&rev=483668&r1=483667&r2=483668
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/util/optional/JavaxScriptRunner.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/util/optional/JavaxScriptRunner.java Thu
Dec  7 13:07:38 2006
@@ -15,6 +15,7 @@
  *  limitations under the License.
  *
  */
+
 package org.apache.tools.ant.util.optional;
 
 import org.apache.tools.ant.BuildException;
@@ -25,10 +26,9 @@
 import org.apache.tools.ant.util.ReflectUtil;
 import org.apache.tools.ant.util.ReflectWrapper;
 
-
 /**
- * This class is used to run javax.script scripts
- *
+ * This class is used to run scripts using JSR 223.
+ * @since Ant 1.7.0
  */
 public class JavaxScriptRunner extends ScriptRunnerBase {
     private ReflectWrapper engine;
@@ -66,7 +66,7 @@
      * @exception BuildException if someting goes wrong exectuing the script.
      */
     public void executeScript(String execName) throws BuildException {
-        evalulateScript(execName);
+        evaluateScript(execName);
     }
 
     /**
@@ -77,7 +77,7 @@
      * @return the result of the evalulation
      * @exception BuildException if someting goes wrong exectuing the script.
      */
-    public Object evalulateScript(String execName) throws BuildException {
+    public Object evaluateScript(String execName) throws BuildException {
         checkLanguage();
         ClassLoader origLoader = replaceContextLoader();
         try {

Modified: ant/core/trunk/src/main/org/apache/tools/ant/util/optional/ScriptRunner.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/util/optional/ScriptRunner.java?view=diff&rev=483668&r1=483667&r2=483668
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/util/optional/ScriptRunner.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/util/optional/ScriptRunner.java Thu Dec 
7 13:07:38 2006
@@ -119,7 +119,7 @@
      * @return the result of the evalulation
      * @exception BuildException if someting goes wrong exectuing the script.
      */
-    public Object evalulateScript(String execName)
+    public Object evaluateScript(String execName)
         throws BuildException {
         checkLanguage();
         ClassLoader origLoader = replaceContextLoader();



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message