Brian Clozel
3be35c053d
Use LinkedHashmap to preserve insert order
...
In several places in the spring-webmvc module, URL patterns / objects
relationships are kept in `HashMap`s. When matching with actual URLs,
the algorithm uses a pattern comparator to sort the matching patterns
and select the most specific. But the underlying collection
implementation does not keep the original order which can lead to
inconsistencies.
This commit changes the underlying collection implementation to
`LinkedHashmap`s, in order to keep the insert order if the comparator
does not reorder entries.
Issue: SPR-13798
9 years ago
Juergen Hoeller
5d454d5ea7
Polishing
9 years ago
Juergen Hoeller
9e03e0e73d
Polishing
9 years ago
Juergen Hoeller
b880b4a545
Upgrade to Castor 1.4
9 years ago
Rossen Stoyanchev
457fca40f0
Update CONTRIBUTING.md
9 years ago
Rossen Stoyanchev
b21e64448b
Update CONTRIBUTING.md
9 years ago
Rossen Stoyanchev
1f6596d1e3
Update CONTRIBUTING.md
9 years ago
Rossen Stoyanchev
ea01b389ba
Update CONTRIBUTING.md
9 years ago
Rossen Stoyanchev
a0bba453da
Add comment to use Stack Overflow before JIRA
9 years ago
Juergen Hoeller
a36c0a50e6
Defensive error reporting when StandardAnnotationMetadata introspects declared methods
...
Issue: SPR-13791
9 years ago
Juergen Hoeller
21329df7e1
Polishing
9 years ago
Juergen Hoeller
bdb606b8b1
Polishing
9 years ago
Juergen Hoeller
ef1e17fd15
Polishing
9 years ago
Juergen Hoeller
04f765506e
Fine-tuned method/field access checks
9 years ago
Andy Clement
a28fc760ba
Fix SpEL compilation of static method/property/field operations
...
Before this change the compilation of a method reference or property/field
access was not properly cleaning up the stack if compilation meant
calling a static method or accessing a static field. In these cases there
is no need for a target object on the stack and it should be removed if
present. For a simple expression it is harmless since the end result of
the expression is the thing on the top of the stack, but for nested
expressions if the inner expression suffered this issue, the outer
expression can find itself operating on the wrong element.
The particular issue covered the case of a static field access but this
fix (and associated tests) cover static method, property and field access.
Issue: SPR-13781
9 years ago
Juergen Hoeller
9d944fbe7f
Upgrade to Guava 19.0 and Undertow 1.3.10
9 years ago
Juergen Hoeller
0968e47b04
Polishing
9 years ago
Juergen Hoeller
356eaef20e
Merge pull request #935 from garyrussell/SPR-13784
...
Base64Utils: URL/File Safe Alphabet
Issue: SPR-13784
9 years ago
Gary Russell
14fc6c2a99
SPR-13784: Base64Utils: URL/File Safe Alphabet
...
JIRA: https://jira.spring.io/browse/SPR-13784
JDK8 and Apache Commons Codec support the RFC 4648
"URL and Filename Safe" Base64 alphabet.
Add methods to `Base64Utils` to support this feature.
9 years ago
Rossen Stoyanchev
aaffc2366c
Remove file committed by error in last commit
9 years ago
Rossen Stoyanchev
dc7ed57c67
Support resource URL encoding at context path
...
Issue: SPR-13757
9 years ago
Juergen Hoeller
beef5ff4c3
Polishing
9 years ago
Juergen Hoeller
ca9a078d82
Polishing
9 years ago
Juergen Hoeller
f119962378
SimpAnnotationMethodMessageHandler ignores empty marker annotations
...
Issue: SPR-13704
9 years ago
Juergen Hoeller
fdc14a16ee
AbstractApplicationContext clears ReflectionUtils cache as well
...
Issue: SPR-13783
9 years ago
Juergen Hoeller
78dad4cfc3
Jdbc4SqlXmlHandler returns null as documented (instead of throwing NPE)
...
Issue: SPR-13782
9 years ago
Juergen Hoeller
7f7f24949b
Polishing
9 years ago
Juergen Hoeller
76f84b914f
Polishing
9 years ago
Juergen Hoeller
11806b9215
Class identity comparisons wherever possible (and further polishing)
...
Issue: SPR-12926
9 years ago
Juergen Hoeller
4261f34b63
Consistent and lenient HttpMethod resolution across all web modules
...
Issue: SPR-13776
9 years ago
Stephane Nicoll
34b596c6bf
Polish cache javadoc
...
Issue: SPR-13746
9 years ago
Juergen Hoeller
0d6545f47c
Latest dependency updates (Jackson 2.6.4, Quartz 2.2.2, C3P0 0.9.5.2)
9 years ago
Juergen Hoeller
8346eeda27
Reset BytesMessage after payload extraction
...
Issue: SPR-13769
9 years ago
Juergen Hoeller
9589749fb2
Introduced createMethodJmsListenerEndpoint template method
...
Issue: SPR-13774
9 years ago
Juergen Hoeller
b3115fcd85
Upgrade to Tomcat 8.0.30 and Undertow 1.3.9
9 years ago
Juergen Hoeller
d2ad2c3af8
StatementCreatorUtils detects Microsoft SQL Server driver 4.0 as well
...
Issue: SPR-13772
9 years ago
Juergen Hoeller
d0814703c4
AnnotationUtils.synthesizeAnnotation explicitly checks whether SynthesizedAnnotation is exposable
...
Issue: SPR-13696
9 years ago
Juergen Hoeller
40cff5e340
Polishing
9 years ago
Juergen Hoeller
ee35b5ed07
Polishing
9 years ago
Juergen Hoeller
7a8a9c71b6
Javadoc fixes
...
Issue: SPR-13763
9 years ago
Juergen Hoeller
1585a822d6
Javadoc fixes
...
Issue: SPR-13765
9 years ago
Juergen Hoeller
b1ef6ece9f
AbstractRequestLoggingFilter unwraps request to find ContentCachingRequestWrapper
...
Issue: SPR-13764
9 years ago
Juergen Hoeller
20beace1bf
AnnotationConfigWebApplicationContext allows for custom AnnotatedBeanDefinitionReader/ClassPathBeanDefinitionScanner
...
Issue: SPR-9324
9 years ago
Juergen Hoeller
9973694ed2
Polishing
9 years ago
Rossen Stoyanchev
153a23dbf9
Configure view controllers with ApplicationContext
...
Issue: SPR-13762
9 years ago
Juergen Hoeller
3d1ae9c604
Efficient and consistent setAllowedOrigins collection type
...
Issue: SPR-13761
9 years ago
Juergen Hoeller
cd4ce8727e
WebSocket namespace consistently applies resolvable allowed-origins value
...
Issue: SPR-13760
9 years ago
Juergen Hoeller
d64ac32e3d
ControllerAdviceBean accepts bean types without @ControllerAdvice annotation (as in 3.2)
...
Issue: SPR-13759
9 years ago
Juergen Hoeller
415b92b6d1
Upgrade to Hibernate 5.0.5 and Undertow 1.3.8
9 years ago
Juergen Hoeller
08b6daf1eb
Polishing
9 years ago