{
ValueExpression vexp = new ValueExpression(context, parameter.getValue());
</BUG>
String value = (String) vexp.get(context, this);
<BUG>if (logger.isTraceEnabled()) logger.trace("Adding parameter: " + parameter.getName() + " => " + value + " (" + parameter.getValue() + ")");

registerCheck.setParameter(parameter.getName(), value);

}</BUG>
if (logger.isTraceEnabled()) logger.trace("Register check: " + new BergamotTranscoder().encodeAsString(registerCheck));

{
try
{
ValueExpression vexp = new ValueExpression(context, parameter.getValue().getValue());
String value = (String) vexp.get(context, this);
if (logger.isTraceEnabled()) logger.trace("Adding parameter: " + parameter.getKey() + " => " + value + " (" + parameter.getValue().getValue() + ")");
registerCheck.setParameter(parameter.getKey(), value);
}
catch (Exception e)
{
logger.error("Error computing parameter value, for check: " + this.getType() + "::" + this.getId() + " " + this.getName() , e);
}
}
if (logger.isTraceEnabled()) logger.trace("Register check: " + new BergamotTranscoder().encodeAsString(registerCheck));
