fixing TODOs

This commit is contained in:
Andy Clement 2008-08-17 01:25:19 +00:00
parent f82561ba53
commit a23311c4ba
3 changed files with 9 additions and 9 deletions

View File

@ -15,7 +15,7 @@
*/
package org.springframework.expression;
// TODO (asc) Is the resolver/executor model too pervasive in this package?
// TODO Is the resolver/executor model too pervasive in this package?
/**
* Executors are built by resolvers and can be cached by the infrastructure to repeat an operation quickly without going
* back to the resolvers. For example, the particular constructor to run on a class may be discovered by the reflection

View File

@ -58,7 +58,7 @@ public interface EvaluationContext {
*/
void setVariable(String name, Object value);
// TODO (asc) lookupReference() - is it too expensive to return all objects within a context?
// TODO lookupReference() - is it too expensive to return all objects within a context?
/**
* Look up an object reference in a particular context. If no contextName is specified (null), assume the default
* context. If no objectName is specified (null), return all objects in the specified context (List<Object>).

View File

@ -19,15 +19,16 @@ import org.springframework.expression.spel.standard.StandardIndividualTypeConver
import org.springframework.expression.spel.standard.StandardTypeConverter;
/**
* A type converter can convert values between different types. There is a default implementation called {@link StandardTypeConverter}
* that supports some basic conversions. That default implementation can be extended through subclassing or
* via registration of new {@link StandardIndividualTypeConverter} instances with the StandardTypeConverter.
* A type converter can convert values between different types. There is a default implementation called
* {@link StandardTypeConverter} that supports some basic conversions. That default implementation can be extended
* through subclassing or via registration of new {@link StandardIndividualTypeConverter} instances with the
* StandardTypeConverter.
*
* @author Andy Clement
*/
public interface TypeConverter {
// TODO (asc) replace this stuff with Keiths spring-binding conversion code
// TODO (asc) should ExpressionException be thrown for lost precision in the case of coercion?
// TODO replace this stuff with Keiths spring-binding conversion code
// TODO should ExpressionException be thrown for lost precision in the case of coercion?
/**
* Convert (may coerce) a value from one type to another, for example from a boolean to a string.
@ -39,7 +40,6 @@ public interface TypeConverter {
*/
Object convertValue(Object value, Class<?> targetType) throws EvaluationException;
/**
* Return true if the type converter can convert the specified type to the desired target type.
*