commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r800035 - in /commons/proper/jexl/branches/2.0/src: conf/checkstyle.xml test/org/apache/commons/jexl/scripting/JexlScriptEngineTest.java
Date Sun, 02 Aug 2009 11:33:53 GMT
Author: sebb
Date: Sun Aug  2 11:33:53 2009
New Revision: 800035

URL: http://svn.apache.org/viewvc?rev=800035&view=rev
Log:
Detab

Modified:
    commons/proper/jexl/branches/2.0/src/conf/checkstyle.xml
    commons/proper/jexl/branches/2.0/src/test/org/apache/commons/jexl/scripting/JexlScriptEngineTest.java

Modified: commons/proper/jexl/branches/2.0/src/conf/checkstyle.xml
URL: http://svn.apache.org/viewvc/commons/proper/jexl/branches/2.0/src/conf/checkstyle.xml?rev=800035&r1=800034&r2=800035&view=diff
==============================================================================
--- commons/proper/jexl/branches/2.0/src/conf/checkstyle.xml (original)
+++ commons/proper/jexl/branches/2.0/src/conf/checkstyle.xml Sun Aug  2 11:33:53 2009
@@ -129,9 +129,9 @@
         <module name="FileLength"/>
         <module name="LineLength">
             <!--  JEXL: added max, ignore @version and @see -->
-        	<property name="max" value="120"/>
-        	<property name="ignorePattern" value="@version"/>
-        	<property name="ignorePattern" value="@see"/>
+            <property name="max" value="120"/>
+            <property name="ignorePattern" value="@version"/>
+            <property name="ignorePattern" value="@see"/>
         </module>
         <module name="MethodLength"/>
         <module name="ParameterNumber"/>
@@ -177,7 +177,7 @@
         <module name="IllegalInstantiation"/>
         <module name="InnerAssignment"/>
         <module name="MagicNumber">
-        	<property name="ignoreNumbers" value="-1, 0, 1, 2, 3"/>
+            <property name="ignoreNumbers" value="-1, 0, 1, 2, 3"/>
         </module>
         <module name="MissingSwitchDefault"/>
         <!-- JEXL-20: used in introspection -->
@@ -211,10 +211,10 @@
         <module name="FileContentsHolder"/>
     </module>
 
-	<module name="SuppressionCommentFilter">
-   		<property name="offCommentFormat" value="CSOFF\: ([\w\|]+)"/>
-   		<property name="onCommentFormat" value="CSON\: ([\w\|]+)"/>
-   		<property name="checkFormat" value="$1"/>
-	</module>
+    <module name="SuppressionCommentFilter">
+        <property name="offCommentFormat" value="CSOFF\: ([\w\|]+)"/>
+        <property name="onCommentFormat" value="CSON\: ([\w\|]+)"/>
+        <property name="checkFormat" value="$1"/>
+    </module>
 
 </module>
\ No newline at end of file

Modified: commons/proper/jexl/branches/2.0/src/test/org/apache/commons/jexl/scripting/JexlScriptEngineTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/branches/2.0/src/test/org/apache/commons/jexl/scripting/JexlScriptEngineTest.java?rev=800035&r1=800034&r2=800035&view=diff
==============================================================================
--- commons/proper/jexl/branches/2.0/src/test/org/apache/commons/jexl/scripting/JexlScriptEngineTest.java
(original)
+++ commons/proper/jexl/branches/2.0/src/test/org/apache/commons/jexl/scripting/JexlScriptEngineTest.java
Sun Aug  2 11:33:53 2009
@@ -38,10 +38,10 @@
         assertEquals(initialValue,engine.eval("123"));
         assertEquals(initialValue,engine.eval("0;123"));// multiple statements
         long time1 = System.currentTimeMillis();
-        Long time2 = (Long) engine.eval("" +
-        		"sys=context.class.forName(\"java.lang.System\");"
-        		+"now=sys.currentTimeMillis();"
-        		);
+        Long time2 = (Long) engine.eval(
+             "sys=context.class.forName(\"java.lang.System\");"
+            +"now=sys.currentTimeMillis();"
+            );
         assertTrue("Must take some time to process this",time1 <= time2.longValue());
         engine.put("value", initialValue);
         assertEquals(initialValue,engine.get("value"));



Mime
View raw message