@ -170,7 +170,7 @@ public class StandardEvaluationContext implements EvaluationContext {
@@ -170,7 +170,7 @@ public class StandardEvaluationContext implements EvaluationContext {
rootObject=o;
}
// TODO 3 have a variant that adds at position (same for ctor/propOrField)
// TODO have a variant that adds at position (same for ctor/propOrField)
@ -93,7 +93,7 @@ public class StandardTypeConverter implements TypeConverter {
@@ -93,7 +93,7 @@ public class StandardTypeConverter implements TypeConverter {
returnfalse;
}
// TODO 3 Q In case of a loss in information with coercion to a narrower type, should we throw an exception?
// TODO In case of a loss in information with coercion to a narrower type, should we throw an exception?
@ -201,7 +201,7 @@ public class StandardTypeConverter implements TypeConverter {
@@ -201,7 +201,7 @@ public class StandardTypeConverter implements TypeConverter {
try{
Double.parseDouble((String)value);
}catch(NumberFormatExceptionnfe){
// TODO 3 Q throw something or leave the caller to throw a conversion exception?
// returning null will mean the caller throws a type conversion related exception