Author: britter Date: Thu May 18 13:53:33 2017 New Revision: 1795532 URL: http://svn.apache.org/viewvc?rev=1795532&view=rev Log: Replace tabs with spaces
Modified: commons/proper/jelly/trunk/src/test/org/apache/commons/jelly/expression/TestExpressions.java Modified: commons/proper/jelly/trunk/src/test/org/apache/commons/jelly/expression/TestExpressions.java URL: http://svn.apache.org/viewvc/commons/proper/jelly/trunk/src/test/org/apache/commons/jelly/expression/TestExpressions.java?rev=1795532&r1=1795531&r2=1795532&view=diff ============================================================================== --- commons/proper/jelly/trunk/src/test/org/apache/commons/jelly/expression/TestExpressions.java (original) +++ commons/proper/jelly/trunk/src/test/org/apache/commons/jelly/expression/TestExpressions.java Thu May 18 13:53:33 2017 @@ -38,14 +38,14 @@ public class TestExpressions extends Tes protected ExpressionFactory factory = new JexlExpressionFactory(); private static final class TestException extends Exception { - public TestException() { - super("Test Exception"); - } + public TestException() { + super("Test Exception"); + } } public static final class TestHelper { - public Object throwAnException() throws TestException { - throw new TestException(); - } + public Object throwAnException() throws TestException { + throw new TestException(); + } } public static void main(String[] args) { @@ -79,19 +79,19 @@ public class TestExpressions extends Tes assertExpressionNotExpressionText("$$type$${topping}$$", "$$type${topping}$$"); try { - assertExpression("${ some junk !< 4}", Boolean.TRUE); - assertTrue("An illegal expression was allowed", false); + assertExpression("${ some junk !< 4}", Boolean.TRUE); + assertTrue("An illegal expression was allowed", false); }catch(JellyException e) { - // Nothing, the test passed + // Nothing, the test passed } context.setVariable("test", new TestHelper()); try { - assertExpression("${test.throwAnException()}", Boolean.TRUE); - assertTrue("An exception was suppressed while processing the JEXL script", false); + assertExpression("${test.throwAnException()}", Boolean.TRUE); + assertTrue("An exception was suppressed while processing the JEXL script", false); }catch(IllegalStateException e) { - if (!(e.getCause() instanceof TestException)) - throw e; - // Nothing, the test passed + if (!(e.getCause() instanceof TestException)) + throw e; + // Nothing, the test passed } }