Commit abea6493 authored by Kristof Szabados's avatar Kristof Szabados
Browse files

base index redirection class can be abstract


Signed-off-by: Kristof Szabados's avatarKristof Szabados <Kristof.Szabados@ericsson.com>
parent 66db2817
......@@ -590,7 +590,6 @@ public abstract class Statement extends ASTNode implements ILocateableNode, IApp
expression.expression.append("new Index_Redirect() {\n");
expression.expression.append("@Override\n");
expression.expression.append("public void add_index(int p_index) {\n");
expression.expression.append("super.add_index(p_index);\n");
final IType last = typeReference.getTypeRefdLast(CompilationTimeStamp.getBaseTimestamp());
switch(last.getTypetypeTtcn3()) {
case TYPE_INTEGER:
......
......@@ -24,7 +24,7 @@ package org.eclipse.titan.runtime.core;
**/
public class Index_Redirect {
public abstract class Index_Redirect {
/** If the port, timer or component operation in question succeeds, then the
* index in the current dimension of the port, timer or component array is
* stored in the array/record of element indicated by this member. Only used
......@@ -47,7 +47,5 @@ public class Index_Redirect {
--pos;
}
public void add_index(final int p_index) {
pos = p_index;
}
public abstract void add_index(final int p_index);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment