mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-26 17:09:05 +00:00
Marked unused values appropriately
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@18 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
+1
@@ -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) {}
|
||||
|
||||
+1
-1
@@ -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).
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user