@ -58,10 +58,10 @@ public class ReflectiveMethodExecutor implements MethodExecutor {
@@ -58,10 +58,10 @@ public class ReflectiveMethodExecutor implements MethodExecutor {
@ -81,7 +81,7 @@ public class ReflectiveMethodExecutor implements MethodExecutor {
@@ -81,7 +81,7 @@ public class ReflectiveMethodExecutor implements MethodExecutor {
@ -93,7 +93,7 @@ public class ReflectiveMethodExecutor implements MethodExecutor {
@@ -93,7 +93,7 @@ public class ReflectiveMethodExecutor implements MethodExecutor {
@ -120,7 +120,7 @@ public class ReflectivePropertyAccessor implements PropertyAccessor {
@@ -120,7 +120,7 @@ public class ReflectivePropertyAccessor implements PropertyAccessor {
}
returnfalse;
}
publicMembergetLastReadInvokerPair(){
returnlastReadInvokerPair.member;
}
@ -656,7 +656,7 @@ public class ReflectivePropertyAccessor implements PropertyAccessor {
@@ -656,7 +656,7 @@ public class ReflectivePropertyAccessor implements PropertyAccessor {
@ -465,7 +465,7 @@ public class EvaluationTests extends AbstractExpressionTests {
@@ -465,7 +465,7 @@ public class EvaluationTests extends AbstractExpressionTests {
@ -75,12 +75,12 @@ public class SetValueTests extends AbstractExpressionTests {
@@ -75,12 +75,12 @@ public class SetValueTests extends AbstractExpressionTests {
@ -95,7 +95,7 @@ public class SetValueTests extends AbstractExpressionTests {
@@ -95,7 +95,7 @@ public class SetValueTests extends AbstractExpressionTests {
// at org.springframework.expression.spel.ast.PropertyOrFieldReference.readProperty(PropertyOrFieldReference.java:225)
// success!
}
// VARIABLE
// the variable does not exist (but that is OK, we should be writable)
e=parser.parseExpression("#madeup1");
@ -103,7 +103,7 @@ public class SetValueTests extends AbstractExpressionTests {
@@ -103,7 +103,7 @@ public class SetValueTests extends AbstractExpressionTests {
@ -113,7 +113,7 @@ public class SetValueTests extends AbstractExpressionTests {
@@ -113,7 +113,7 @@ public class SetValueTests extends AbstractExpressionTests {
@ -62,7 +62,7 @@ public class SpelCompilationPerformanceTests extends AbstractExpressionTests {
@@ -62,7 +62,7 @@ public class SpelCompilationPerformanceTests extends AbstractExpressionTests {
returnduration;
}
}
publicstaticclassNumberHolder{
publicintpayload=36;
}
@ -97,7 +97,7 @@ public class SpelCompilationPerformanceTests extends AbstractExpressionTests {
@@ -97,7 +97,7 @@ public class SpelCompilationPerformanceTests extends AbstractExpressionTests {
System.out.println("Now compiled:");
o=expression.getValue(nh);
assertEquals(2d,o);
stime=System.currentTimeMillis();
for(inti=0;i<1000000;i++){
o=expression.getValue(nh);
@ -113,7 +113,7 @@ public class SpelCompilationPerformanceTests extends AbstractExpressionTests {
@@ -113,7 +113,7 @@ public class SpelCompilationPerformanceTests extends AbstractExpressionTests {
o=expression.getValue(nh);
}
System.out.println("One million iterations: "+(System.currentTimeMillis()-stime)+"ms");
expression=parser.parseExpression("payload/18D");
o=expression.getValue(nh);
assertEquals(2d,o);
@ -137,7 +137,7 @@ public class SpelCompilationPerformanceTests extends AbstractExpressionTests {
@@ -137,7 +137,7 @@ public class SpelCompilationPerformanceTests extends AbstractExpressionTests {
System.out.println("Now compiled:");
o=expression.getValue(nh);
assertEquals(2d,o);
stime=System.currentTimeMillis();
for(inti=0;i<1000000;i++){
o=expression.getValue(nh);
@ -154,7 +154,7 @@ public class SpelCompilationPerformanceTests extends AbstractExpressionTests {
@@ -154,7 +154,7 @@ public class SpelCompilationPerformanceTests extends AbstractExpressionTests {
}
System.out.println("One million iterations: "+(System.currentTimeMillis()-stime)+"ms");
@ -180,7 +180,7 @@ public class SpelCompilationPerformanceTests extends AbstractExpressionTests {
@@ -180,7 +180,7 @@ public class SpelCompilationPerformanceTests extends AbstractExpressionTests {
System.out.println("Now compiled:");
o=expression.getValue();
assertEquals("bc",o);
stime=System.currentTimeMillis();
for(inti=0;i<1000000;i++){
o=expression.getValue();
@ -197,7 +197,7 @@ public class SpelCompilationPerformanceTests extends AbstractExpressionTests {
@@ -197,7 +197,7 @@ public class SpelCompilationPerformanceTests extends AbstractExpressionTests {
}
System.out.println("One million iterations: "+(System.currentTimeMillis()-stime)+"ms");
@ -223,7 +223,7 @@ public class SpelCompilationPerformanceTests extends AbstractExpressionTests {
@@ -223,7 +223,7 @@ public class SpelCompilationPerformanceTests extends AbstractExpressionTests {
System.out.println("Now compiled:");
o=expression.getValue();
assertEquals("jk",o);
stime=System.currentTimeMillis();
for(inti=0;i<1000000;i++){
o=expression.getValue();
@ -269,7 +269,7 @@ public class SpelCompilationPerformanceTests extends AbstractExpressionTests {
@@ -269,7 +269,7 @@ public class SpelCompilationPerformanceTests extends AbstractExpressionTests {
System.out.println("Now compiled:");
o=expression.getValue(g);
assertEquals("helloworld spring",o);
stime=System.currentTimeMillis();
for(inti=0;i<1000000;i++){
o=expression.getValue(g);
@ -286,7 +286,7 @@ public class SpelCompilationPerformanceTests extends AbstractExpressionTests {
@@ -286,7 +286,7 @@ public class SpelCompilationPerformanceTests extends AbstractExpressionTests {
}
System.out.println("One million iterations: "+(System.currentTimeMillis()-stime)+"ms");