- no longer need the number of args for a directive.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/jakarta/velocity/trunk@73226 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/java/org/apache/velocity/runtime/directive/Directive.java b/src/java/org/apache/velocity/runtime/directive/Directive.java
index 76786fe..2f49298 100644
--- a/src/java/org/apache/velocity/runtime/directive/Directive.java
+++ b/src/java/org/apache/velocity/runtime/directive/Directive.java
@@ -14,7 +14,6 @@
public String getName();
public int getType();
- public int getArgs();
public void render(Context context, Writer writer, Node node)
throws IOException;
diff --git a/src/java/org/apache/velocity/runtime/directive/Dummy.java b/src/java/org/apache/velocity/runtime/directive/Dummy.java
index 3046533..5d4e371 100644
--- a/src/java/org/apache/velocity/runtime/directive/Dummy.java
+++ b/src/java/org/apache/velocity/runtime/directive/Dummy.java
@@ -11,7 +11,6 @@
{
public String getName() { return "dummy"; }
public int getType() { return LINE; }
- public int getArgs() { return 3; }
public void render(Context context, Writer writer, Node node)
throws IOException
diff --git a/src/java/org/apache/velocity/runtime/directive/Foreach.java b/src/java/org/apache/velocity/runtime/directive/Foreach.java
index ba5014c..9b028dc 100644
--- a/src/java/org/apache/velocity/runtime/directive/Foreach.java
+++ b/src/java/org/apache/velocity/runtime/directive/Foreach.java
@@ -18,7 +18,6 @@
{
public String getName() { return "foreach"; }
public int getType() { return BLOCK; }
- public int getArgs() { return 3; }
public void render(Context context, Writer writer, Node node)
throws IOException