- 07 8月, 2014 2 次提交
-
-
由 Stephane Nicoll 提交于
-
由 Andy Clement 提交于
This commit introduces the ability to specify an inline map in an expression. The syntax is similar to inline lists and of the form: "{key:value,key2:value}". The keys can optionally be quoted. The documentation is also updated with information on the syntax. Issue: SPR-9472
-
- 31 7月, 2014 1 次提交
-
-
由 Andy Clement 提交于
There is special handling for SpEL expressions involving a map and an unquoted string literal key (e.g. mymap[key1]). SpEL does not require key1 to be quoted. This special handling which is done in Indexer getValueRef() was not being also done in the Indexer generateCode() method that compiles the expression. Also fixed a problem where the key was not being compiled in a new sub scope. Without the new scope the key expression was failing to reload the relevant context object when it needed it. Issue: SPR-12045
-
- 30 7月, 2014 2 次提交
-
-
由 Andy Clement 提交于
This commit enables the modulus operator to be compiled when it is used as part of a SpEL expression. Issue: SPR-12041
-
由 Andy Clement 提交于
This commit allows the SpEL compiler to cope with generic methods being used in expressions involving numeric operands. Due to the use of unbound type variables the methods may look like they return Object but in fact they are returning objects of a numeric type that are suitable for compilation. The changes here ensure the runtime types are looked at if the discovered declared types are not providing enough information. This impacts all the operands involving numerics (mathematical and relational). Issue: SPR-12040
-
- 22 7月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-12014
-
- 18 7月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 16 7月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
Revision of SpelCompiler support, resolving a subpackage cycle through moving CodeFlow and CompilablePropertyAccessor to the main spel package Also contains explicit ClassLoader management, passed through StandardBeanExpressionResolver and SpelParserConfiguration to SpelCompiler lookup. Issue: SPR-10943
-
- 11 7月, 2014 1 次提交
-
-
由 Andy Clement 提交于
With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but the common cases are and it is an extensible compilation framework. Issue: SPR-10943
-
- 08 7月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 07 7月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-11960
-
- 15 5月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 28 4月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-11721 (cherry picked from commit 59cef3ce)
-
- 22 4月, 2014 2 次提交
-
-
由 Philippe Marschall 提交于
Clean up compiler warnings in the tests of spring-expression. This commit adds type parameters to some of the types (mostly `List` and `Map`). Some of them can't be cleaned up, some tests are even specifically for raw types.
-
由 Juergen Hoeller 提交于
Issue: SPR-11708
-
- 06 4月, 2014 1 次提交
-
-
由 Sam Brannen 提交于
-
- 27 3月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-11609
-
- 21 3月, 2014 1 次提交
-
-
由 Stephane Nicoll 提交于
Prior to this commit, the codebase was using a mix of log4j.xml and log4j.properties for test-related logging configuration. This can be an issue as log4j takes the xml variant first when looking for a default bootstrap configuration. In practice, some modules declaring the properties variant were taking the xml variant configuration from another module. The general structure of the configuration has also been harmonized to provide a standard console output as well as an easy way to enable trace logs for the current module.
-
- 12 3月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 11 3月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-11535 (cherry picked from commit eeb82c40)
-
- 10 3月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 06 3月, 2014 2 次提交
-
-
由 Stephane Nicoll 提交于
When a node of an SPeL expression was a call to a bean referenced in a method argument, the expression was resolved twice. The resolved arguments are now specified to MethodValueRef instead of resolving the arguments again in the constructor Issue: SPR-11445
-
由 Juergen Hoeller 提交于
Fixed through falling back to the raw parameter type in the TypeDescriptor(MethodParameter) constructor, properly detecting the vararg array even in case of an unresolvable type variable, and through restoring getElementTypeDescriptor's original behavior for arrays, i.e. always returning a non-null descriptor. Issue: SPR-11494
-
- 19 2月, 2014 1 次提交
-
-
由 Phillip Webb 提交于
Add additional caching to ResolvableTypes and SerializableTypeWrapper in order to improve SpEL performance. Issue: SPR-11388
-
- 15 2月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 09 2月, 2014 2 次提交
-
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
- Consistent importing of org.junit.Assert.*; - Proper declaration of expected exceptions via @test(expected). - Renamed SpEL ExpressionTestCase to AbstractExpressionTests. - Formatting and test method naming conventions.
-
- 07 2月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 24 1月, 2014 2 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-11348
-
- 17 1月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 16 1月, 2014 2 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-11319
-
- 15 1月, 2014 2 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Fixed getTypeDifferenceWeight algorithm in ReflectionHelper, and removed unused argsRequiringConversion storage Issue: SPR-11306
-
- 04 1月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-7831
-
- 18 12月, 2013 2 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-11215
-
由 Juergen Hoeller 提交于
Issue: SPR-11215
-
- 04 12月, 2013 1 次提交
-
-
由 Phillip Webb 提交于
Fix regression introduced in b25e91a5 where ReflectivePropertyAccessor does not consider the return type for "is" getters. Issue: SPR-11142
-
- 27 11月, 2013 1 次提交
-
-
由 Phillip Webb 提交于
Update code to have a consistent number of new-line characters after import statements.
-