Author: sebb Date: Wed Mar 25 15:54:32 2009 New Revision: 758318 URL: http://svn.apache.org/viewvc?rev=758318&view=rev Log: Javadoc
Modified: jakarta/bsf/trunk/bsf3/bsf-api/src/main/java/javax/script/AbstractScriptEngine.java jakarta/bsf/trunk/bsf3/bsf-api/src/main/java/javax/script/ScriptEngineManager.java jakarta/bsf/trunk/bsf3/bsf-api/src/main/java/javax/script/ScriptException.java Modified: jakarta/bsf/trunk/bsf3/bsf-api/src/main/java/javax/script/AbstractScriptEngine.java URL: http://svn.apache.org/viewvc/jakarta/bsf/trunk/bsf3/bsf-api/src/main/java/javax/script/AbstractScriptEngine.java?rev=758318&r1=758317&r2=758318&view=diff ============================================================================== --- jakarta/bsf/trunk/bsf3/bsf-api/src/main/java/javax/script/AbstractScriptEngine.java (original) +++ jakarta/bsf/trunk/bsf3/bsf-api/src/main/java/javax/script/AbstractScriptEngine.java Wed Mar 25 15:54:32 2009 @@ -25,7 +25,9 @@ */ public abstract class AbstractScriptEngine implements ScriptEngine { + /** The default ScriptContext of this AbstractScriptEngine */ protected ScriptContext context; + // This field is defined as protected in JSR-223 /** * Constructs a ScriptEngine using an uninitialized Modified: jakarta/bsf/trunk/bsf3/bsf-api/src/main/java/javax/script/ScriptEngineManager.java URL: http://svn.apache.org/viewvc/jakarta/bsf/trunk/bsf3/bsf-api/src/main/java/javax/script/ScriptEngineManager.java?rev=758318&r1=758317&r2=758318&view=diff ============================================================================== --- jakarta/bsf/trunk/bsf3/bsf-api/src/main/java/javax/script/ScriptEngineManager.java (original) +++ jakarta/bsf/trunk/bsf3/bsf-api/src/main/java/javax/script/ScriptEngineManager.java Wed Mar 25 15:54:32 2009 @@ -130,7 +130,7 @@ /** * Retrieves a new instance of a ScriptingEngine for the - * specified extension of a scirpt file. Returns <tt>null</tt> if no + * specified extension of a script file. Returns <tt>null</tt> if no * suitable ScriptingEngine is found. * * @param extension the specified extension of a script file @@ -180,7 +180,7 @@ /** * Retrieves a new instance of a ScriptEngine the specified - * descriptieve name. Returns <tt>null</tt> if no suitable ScriptEngine is + * descriptive name. Returns <tt>null</tt> if no suitable ScriptEngine is * found. * * @param name the descriptive name @@ -255,6 +255,8 @@ * ScriptEngineFactory class * @param factory the ScriptEngineFactory associated with * the specified extension + * + * @throws NullPointerException if any of the parameters is <tt>null</tt> */ public void registerEngineExtension(String extension, ScriptEngineFactory factory){ extensionAssociations.put(extension, factory); Modified: jakarta/bsf/trunk/bsf3/bsf-api/src/main/java/javax/script/ScriptException.java URL: http://svn.apache.org/viewvc/jakarta/bsf/trunk/bsf3/bsf-api/src/main/java/javax/script/ScriptException.java?rev=758318&r1=758317&r2=758318&view=diff ============================================================================== --- jakarta/bsf/trunk/bsf3/bsf-api/src/main/java/javax/script/ScriptException.java (original) +++ jakarta/bsf/trunk/bsf3/bsf-api/src/main/java/javax/script/ScriptException.java Wed Mar 25 15:54:32 2009 @@ -25,7 +25,7 @@ //@Immutable public class ScriptException extends Exception { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 2L; /** Stores the file name of the script */ private final String fileName; // default null --------------------------------------------------------------------- To unsubscribe, e-mail: bsf-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: bsf-dev-h...@jakarta.apache.org