xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cjo...@apache.org
Subject cvs commit: xml-batik/sources/org/apache/batik/script/jpython JPythonInterpreter.java
Date Fri, 15 Feb 2002 08:58:24 GMT
cjolif      02/02/15 00:58:24

  Modified:    sources/org/apache/batik/script/jpython
                        JPythonInterpreter.java
  Log:
  compilation problem patch
  Obtained from: Philipp Hahn
  
  Revision  Changes    Path
  1.5       +1 -2      xml-batik/sources/org/apache/batik/script/jpython/JPythonInterpreter.java
  
  Index: JPythonInterpreter.java
  ===================================================================
  RCS file: /home/cvs/xml-batik/sources/org/apache/batik/script/jpython/JPythonInterpreter.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- JPythonInterpreter.java	8 Oct 2001 15:04:39 -0000	1.4
  +++ JPythonInterpreter.java	15 Feb 2002 08:58:24 -0000	1.5
  @@ -20,7 +20,7 @@
    * A simple implementation of <code>Interpreter</code> interface to use
    * JPython python parser.
    * @author <a href="mailto:cjolif@ilog.fr">Christophe Jolif</a>
  - * @version $Id: JPythonInterpreter.java,v 1.4 2001/10/08 15:04:39 cjolif Exp $
  + * @version $Id: JPythonInterpreter.java,v 1.5 2002/02/15 08:58:24 cjolif Exp $
    */
   public class JPythonInterpreter implements org.apache.batik.script.Interpreter {
       private PythonInterpreter interpreter = null;
  @@ -47,7 +47,6 @@
       public Object evaluate(String script)
           throws InterpreterException {
           try {
  -            String str = sbuffer.toString();
               interpreter.exec(script);
           } catch (org.python.core.PyException e) {
               throw new InterpreterException(e, e.getMessage(), -1, -1);
  
  
  

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


Mime
View raw message