提交 106131ab 编写于 作者: A Andy Clement

Marked unused values appropriately

上级 b12dc5ba
......@@ -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) {}
......
......@@ -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).
*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册