From f8f8057d4feb12095939de712d55ade8513d4d1e Mon Sep 17 00:00:00 2001 From: samskivert Date: Fri, 15 Oct 2010 15:50:53 +0000 Subject: [PATCH] These are now named jjtGetChild instead of getChild, because the former is clearly more awesome. This is about to precipitate an upgrade from a 10 year old hacked version of Velocity to a zero year old hacked version of Velocity which is not going to be pleasant, but is roundabout ten years overdue. git-svn-id: https://samskivert.googlecode.com/svn/trunk@2922 6335cc39-0255-0410-8fd6-9bcaacd3b74c --- src/main/java/com/samskivert/velocity/ImportDirective.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/samskivert/velocity/ImportDirective.java b/src/main/java/com/samskivert/velocity/ImportDirective.java index 2b195910..979d162e 100644 --- a/src/main/java/com/samskivert/velocity/ImportDirective.java +++ b/src/main/java/com/samskivert/velocity/ImportDirective.java @@ -74,13 +74,13 @@ public class ImportDirective extends Directive MethodInvocationException { // make sure an argument was supplied to the directive - if (node.getChild(0) == null) { + if (node.jjtGetChild(0) == null) { rsvc.getLog().error("#import() error : null argument"); return false; } // make sure that argument has a value - Object value = node.getChild(0).value(context); + Object value = node.jjtGetChild(0).value(context); if (value == null) { rsvc.getLog().error("#import() error : null argument"); return false;