Author: sebb Date: Wed Aug 5 09:47:37 2009 New Revision: 801109 URL: http://svn.apache.org/viewvc?rev=801109&view=rev Log: Rename engine => ENGINE
Modified: commons/proper/jexl/branches/2.0/src/test/java/org/apache/commons/jexl/UnifiedJEXLTest.java Modified: commons/proper/jexl/branches/2.0/src/test/java/org/apache/commons/jexl/UnifiedJEXLTest.java URL: http://svn.apache.org/viewvc/commons/proper/jexl/branches/2.0/src/test/java/org/apache/commons/jexl/UnifiedJEXLTest.java?rev=801109&r1=801108&r2=801109&view=diff ============================================================================== --- commons/proper/jexl/branches/2.0/src/test/java/org/apache/commons/jexl/UnifiedJEXLTest.java (original) +++ commons/proper/jexl/branches/2.0/src/test/java/org/apache/commons/jexl/UnifiedJEXLTest.java Wed Aug 5 09:47:37 2009 @@ -22,13 +22,13 @@ * Test cases for the UnifiedEL. */ public class UnifiedJEXLTest extends JexlTestCase { - private static final JexlEngine Engine = new JexlEngine(); + private static final JexlEngine ENGINE = new JexlEngine(); static { - Engine.setLenient(false); - Engine.setSilent(false); - Engine.setCache(128); + ENGINE.setLenient(false); + ENGINE.setSilent(false); + ENGINE.setCache(128); } - static UnifiedJEXL EL = new UnifiedJEXL(Engine); + static UnifiedJEXL EL = new UnifiedJEXL(ENGINE); static Log LOG = LogFactory.getLog(UnifiedJEXL.class); JexlContext context = null; Map<String,Object> vars =null; @@ -220,14 +220,14 @@ vars.put("bar", "foo"); try { - Engine.setSilent(true); + ENGINE.setSilent(true); expr = EL.parse("#{${bar}+'.charAt(-2)'}"); expr = expr.prepare(context); o = expr.evaluate(context); assertEquals(null, o); } finally { - Engine.setSilent(false); + ENGINE.setSilent(false); } }