Permalink
Browse files

Marked unused values appropriately

  • Loading branch information...
1 parent b12dc5b commit 106131ab8f98dfeb0a0382e9e541968eb50c735b @aclement aclement committed Aug 12, 2008
@@ -389,6 +389,7 @@ public void testScenario_AddingYourOwnTypeConverter() throws SecurityException,
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 @@ private static void setupRootContextObject(StandardEvaluationContext testContext
/**
* 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).
*

0 comments on commit 106131a

Please sign in to comment.