Commit 2c7960ce authored by Kristof Szabados's avatar Kristof Szabados
Browse files

the log functions can be abstract in the base classes now


Signed-off-by: Kristof Szabados's avatarkristof <Kristof.Szabados@ericsson.com>
parent a9d391f5
......@@ -174,13 +174,7 @@ public abstract class Base_Template {
public abstract Base_Template assign(final Base_Template otherValue);
public abstract TitanBoolean match(final Base_Type otherValue, final boolean legacy);
public abstract Base_Type valueOf();
public void log(){
//do nothing for now.
// TODO once the logging is implemented for all classes this function should become abstract
TtcnLogger.log_event_str( "//TODO: " );
TtcnLogger.log_event_str( getClass().getSimpleName() );
TtcnLogger.log_event_str( ".log() is not implemented!\n" );
}
public abstract void log();
public void log_match(final Base_Type match_value, final boolean legacy) {
//do nothing for now.
......
......@@ -27,11 +27,5 @@ public abstract class Base_Type {
public abstract TitanBoolean operatorEquals(final Base_Type otherValue);
public abstract Base_Type assign( final Base_Type otherValue );
public void log(){
//do nothing for now.
// TODO once the logging is implemented for all classes this function should become abstract
TtcnLogger.log_event_str( "//TODO: " );
TtcnLogger.log_event_str( getClass().getSimpleName() );
TtcnLogger.log_event_str( ".log() is not implemented!\n" );
}
public abstract void log();
}
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