Author: ebourg
Date: Tue Dec  8 16:07:05 2015
New Revision: 1718641

URL: http://svn.apache.org/viewvc?rev=1718641&view=rev
Log:
Improved the indentation of the example on the main page

Modified:
    commons/proper/jexl/trunk/src/site/xdoc/index.xml

Modified: commons/proper/jexl/trunk/src/site/xdoc/index.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/site/xdoc/index.xml?rev=1718641&r1=1718640&r2=1718641&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/site/xdoc/index.xml (original)
+++ commons/proper/jexl/trunk/src/site/xdoc/index.xml Tue Dec  8 16:07:05 2015
@@ -111,21 +111,19 @@ working with enterprise platforms.
             </p>
 
             <source><![CDATA[
-            // Create or retrieve an engine
-            JexlEngine jexl = new JexlBuilder().create();
-
-            // Create an expression
-            String jexlExp = "foo.innerFoo.bar()";
-            JexlExpression e = jexl.createExpression( jexlExp );
-
-            // Create a context and add data
-            JexlContext jc = new MapContext();
-            jc.set("foo", new Foo() );
-
-            // Now evaluate the expression, getting the result
-            Object o = e.evaluate(jc);
-        ]]>
-            </source>
+    // Create or retrieve an engine
+    JexlEngine jexl = new JexlBuilder().create();
+    
+    // Create an expression
+    String jexlExp = "foo.innerFoo.bar()";
+    JexlExpression e = jexl.createExpression( jexlExp );
+    
+    // Create a context and add data
+    JexlContext jc = new MapContext();
+    jc.set("foo", new Foo() );
+    
+    // Now evaluate the expression, getting the result
+    Object o = e.evaluate(jc);]]></source>
         </section>
 
         <section name="Extensions to JSTL Expression Language">


Reply via email to