cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ovi...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/flow/javascript JavaScriptInterpreter.java
Date Tue, 01 Oct 2002 07:30:43 GMT
ovidiu      2002/10/01 00:30:43

  Modified:    src/java/org/apache/cocoon/components/flow/javascript
                        JavaScriptInterpreter.java
  Log:
  configure: call super.configure().
  
  Revision  Changes    Path
  1.10      +3 -5      xml-cocoon2/src/java/org/apache/cocoon/components/flow/javascript/JavaScriptInterpreter.java
  
  Index: JavaScriptInterpreter.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/flow/javascript/JavaScriptInterpreter.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- JavaScriptInterpreter.java	24 Sep 2002 08:18:41 -0000	1.9
  +++ JavaScriptInterpreter.java	1 Oct 2002 07:30:43 -0000	1.10
  @@ -46,16 +46,12 @@
   package org.apache.cocoon.components.flow.javascript;
   
   import java.io.BufferedReader;
  -import java.io.InputStream;
   import java.io.InputStreamReader;
   import java.io.Reader;
  -import java.io.SequenceInputStream;
   import java.util.ArrayList;
  -import java.util.Enumeration;
   import java.util.HashMap;
   import java.util.List;
   import java.util.Map;
  -import org.apache.avalon.excalibur.collections.ArrayEnumeration;
   import org.apache.avalon.framework.activity.Initializable;
   import org.apache.avalon.framework.configuration.Configurable;
   import org.apache.avalon.framework.configuration.Configuration;
  @@ -70,7 +66,6 @@
   import org.apache.cocoon.environment.Session;
   import org.apache.cocoon.environment.Source;
   import org.mozilla.javascript.Context;
  -import org.mozilla.javascript.ErrorReporter;
   import org.mozilla.javascript.Function;
   import org.mozilla.javascript.NativeArray;
   import org.mozilla.javascript.PropertyException;
  @@ -110,7 +105,10 @@
     JSErrorReporter errorReporter;
   
     public void configure(Configuration config)
  +    throws ConfigurationException
     {
  +    super.configure(config);
  +
       String loadOnStartup
         = config.getChild("load-on-startup", true).getValue(null);
       if (loadOnStartup != null)
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message