Marked unused values appropriately

This commit is contained in:
Andy Clement 2008-08-12 18:28:18 +00:00
parent b12dc5ba42
commit 106131ab8f
2 changed files with 2 additions and 1 deletions

View File

@ -389,6 +389,7 @@ public class ExpressionLanguageScenarioTests extends ExpressionTestCase {
Expression expr = parser.parseExpression("#functionTakesColour('orange')");
try {
@SuppressWarnings("unused")
Object value = expr.getValue(ctx);
fail("Should have failed, no type converter registered");
} catch (EvaluationException ee) {}

View File

@ -108,7 +108,7 @@ public class TestScenarioCreator {
/**
* Create a context configuration that tests can reference into using the
* @() language construct.
* @(context:objectName) will index a particular object within a particular context. The 'root' context will be used
* at(context:objectName) will index a particular object within a particular context. The 'root' context will be used
* for references where no context is specified, eg.
* @(orange).
*