daveb       00/11/16 18:25:43

  Modified:    src/java/org/apache/velocity/runtime/directive Include.java
  Log:
  Replaced calls to Runtime.getString()
  
  Revision  Changes    Path
  1.4       +4 -3      
jakarta-velocity/src/java/org/apache/velocity/runtime/directive/Include.java
  
  Index: Include.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-velocity/src/java/org/apache/velocity/runtime/directive/Include.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Include.java      2000/11/16 01:55:43     1.3
  +++ Include.java      2000/11/17 02:25:43     1.4
  @@ -58,6 +58,7 @@
   
   import org.apache.velocity.runtime.parser.*;
   import org.apache.velocity.Context;
  +import org.apache.velocity.runtime.configuration.*;
   import org.apache.velocity.runtime.Runtime;
   import org.apache.velocity.runtime.parser.node.Node;
   
  @@ -92,7 +93,7 @@
    *
    * @author <a href="mailto:[EMAIL PROTECTED]">Geir Magnusson Jr.</a>
    * @author <a href="mailto:[EMAIL PROTECTED]">Jason van Zyl</a>
  - * @version $Id: Include.java,v 1.3 2000/11/16 01:55:43 jvanzyl Exp $
  + * @version $Id: Include.java,v 1.4 2000/11/17 02:25:43 daveb Exp $
    */
   public class Include extends Directive
   {
  @@ -258,8 +259,8 @@
       private void outputErrorToStream( Writer writer, String msg )
           throws IOException
       {
  -        String strOutputMsgStart = Runtime.getString( ERRORMSG_START);
  -        String strOutputMsgEnd = Runtime.getString( ERRORMSG_END );
  +        String strOutputMsgStart = VelocityResources.getString( ERRORMSG_START);
  +        String strOutputMsgEnd = VelocityResources.getString( ERRORMSG_END );
           
           if ( strOutputMsgStart != null  && strOutputMsgEnd != null)
           {
  
  
  

Reply via email to