geirm       01/01/02 21:59:11

  Modified:    examples Example.class Example.java
  Log:
  Context changes.
  
  Revision  Changes    Path
  1.3       +23 -20    jakarta-velocity/examples/Example.class
  
        <<Binary file>>
  
  
  1.4       +3 -3      jakarta-velocity/examples/Example.java
  
  Index: Example.java
  ===================================================================
  RCS file: /home/cvs/jakarta-velocity/examples/Example.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Example.java      2000/11/06 22:19:47     1.3
  +++ Example.java      2001/01/03 05:59:11     1.4
  @@ -54,7 +54,7 @@
   
   
   import org.apache.velocity.runtime.Runtime;
  -import org.apache.velocity.Context;
  +import org.apache.velocity.VelocityContext;
   import org.apache.velocity.Template;
   
   import java.io.*;
  @@ -66,7 +66,7 @@
    *
    * @author <a href="mailto:[EMAIL PROTECTED]">Jason van Zyl</a>
    * @author <a href="mailto:[EMAIL PROTECTED]">Geir Magnusson Jr.</a>
  - * @version $Id: Example.java,v 1.3 2000/11/06 22:19:47 jon Exp $
  + * @version $Id: Example.java,v 1.4 2001/01/03 05:59:11 geirm Exp $
    */
   
   public class Example
  @@ -87,7 +87,7 @@
                *  references (ex. $list) in the template
                */
   
  -            Context context = new Context();
  +            VelocityContext context = new VelocityContext();
               context.put("list", getNames());
               
               /*
  
  
  

Reply via email to