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
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user