@ -34,7 +35,8 @@ public class CompositeStringExpression implements Expression {
@@ -34,7 +35,8 @@ public class CompositeStringExpression implements Expression {
publicStringgetValue()throwsEvaluationException{
StringBuildersb=newStringBuilder();
for(inti=0;i<expressions.length;i++){
// TODO (asc) is stringify ok for the non literal components? or should the converters be used? see another case below
// TODO is stringify ok for the non literal components? or should the converters be used? see another
// case below
sb.append(expressions[i].getValue());
}
returnsb.toString();
@ -52,6 +54,10 @@ public class CompositeStringExpression implements Expression {
@@ -52,6 +54,10 @@ public class CompositeStringExpression implements Expression {
thrownewEvaluationException(expressionString,"Cannot call setValue() on a composite expression");
}
@ -65,4 +71,8 @@ public class CompositeStringExpression implements Expression {
@@ -65,4 +71,8 @@ public class CompositeStringExpression implements Expression {