cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craft...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/flow/javascript JavaScriptInterpreter.java
Date Wed, 22 Jan 2003 17:13:37 GMT
crafterm    2003/01/22 09:13:36

  Modified:    src/java/org/apache/cocoon/components/flow/javascript
                        JavaScriptInterpreter.java
  Log:
  Reapplying Giacomo's eclipse-based patch, was overwritten by the previous
  commit.
  
  Revision  Changes    Path
  1.15      +3 -3      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.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- JavaScriptInterpreter.java	20 Jan 2003 20:36:59 -0000	1.14
  +++ JavaScriptInterpreter.java	22 Jan 2003 17:13:36 -0000	1.15
  @@ -186,7 +186,7 @@
         scope.put("log", scope, log);
       }
       catch (Exception e) {
  -      context.exit();
  +      Context.exit();
         e.printStackTrace();
         throw e;
       }
  @@ -344,7 +344,7 @@
     {
       JSCocoon cocoon = (JSCocoon)thrScope.get("cocoon", thrScope);
       cocoon.invalidateContext();
  -    Context.getCurrentContext().exit();
  +    Context.exit();
     }
   
     public void readScripts(Environment environment, List sources)
  @@ -583,7 +583,7 @@
         throw ex;
       }
       finally {
  -      context.exit();
  +      Context.exit();
       }
     }
   }
  
  
  

----------------------------------------------------------------------
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