Juergen Hoeller
53aab24690
Polishing
11 years ago
Sam Brannen
c335e99e3f
Remove trailing whitespace from source code
11 years ago
Sam Brannen
1f778530b5
Polish test classes
...
- 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.
11 years ago
Juergen Hoeller
8c0e3040c2
Polishing
11 years ago
Juergen Hoeller
749b65b0b2
Polishing
11 years ago
Sam Brannen
de5b7a378b
Fix grammar and update link in Javadoc for SimpleThreadScope
11 years ago
Dave Brosius
cdd2324ab5
fix log spelling typo
11 years ago
Juergen Hoeller
426f52b393
Polishing
11 years ago
Juergen Hoeller
8c4e372558
Introduced SpringNamingPolicy for CGLIB
...
Issue: SPR-11398
11 years ago
Sam Brannen
b8ed2f4967
Ensure all tests are executed in the Gradle build
...
Prior to this commit several test classes named "*Test" were not
recognized as tests by the Gradle build. This is due to the configured
inclusion of '**/*Tests.*' which follows Spring's naming convention for
test classes.
This commit addresses this issue by:
- Renaming real test classes consistently to "*Tests".
- Renaming internal test classes to "*TestCase".
- Renaming @WebTest to @WebTestStereotype .
- Disabling broken tests in AnnoDrivenStaticEntityMockingControlTest.
- Modifying the Gradle build configuration so that classes ending in
either "*Tests" or "*Test" are considered test classes.
Issue: SPR-11384
11 years ago
Juergen Hoeller
5be8301128
Fixed isMatchingFieldError to properly handle empty field name
...
Also avoided unnecessary substring creation for field error access with wildcard.
Issue: SPR-11374
11 years ago
Juergen Hoeller
c1eac209c3
Fixed LiveBeansView to not produce invalid JSON if last bean is not eligible
...
Also introducing overridable isBeanEligible template method.
Issue: SPR-11366
11 years ago
Sam Brannen
78542777d6
Introduce value attribute in @RestController
...
Stereotype annotations should support a 'value' attribute for
specifying the name of the Spring-managed component; however,
@RestController currently does not provide such an attribute.
This commit introduces a 'value' attribute in @RestController so that
developers can provide custom names for components annotated with
@RestController .
Issue: SPR-11360
11 years ago
Juergen Hoeller
61b6d398a5
Removed LocalDateToDateMidnightConverter pre-release since DateMidnight is deprecated as of Joda-Time 2.3; marked DateTimeToDateMidnightConverter as deprecated
11 years ago
Juergen Hoeller
eeae5fba95
Fixed regression with constructing TypeDescriptor from null Class
...
Issue: SPR-11354
11 years ago
Sam Brannen
8faf01f56d
Fix "coercion" spelling mistakes in Javadoc
11 years ago
Juergen Hoeller
3310ab55e0
Polishing
...
Issue: SPR-11344
(cherry picked from commit d434ef9
)
11 years ago
Juergen Hoeller
12c393eb6d
Switched 'order' attributes across namespaces to 'xsd:token'
...
Issue: SPR-10886
Issue: SPR-7342
11 years ago
Juergen Hoeller
84310c8a11
RemoteInvocation(Result) explicitly designed for JavaBean-style deserialization
...
Issue: SPR-11337
11 years ago
Juergen Hoeller
709ac28f29
Consider wildcard type without bounds as eligible for fallback match too
...
Issue: SPR-11250
11 years ago
Juergen Hoeller
26271fc30c
Polishing
11 years ago
Juergen Hoeller
547646de6d
Polishing
11 years ago
Juergen Hoeller
cdd65a70af
Added compatibility note on WildFly 8
11 years ago
Juergen Hoeller
24d40fa3e0
Fixed resolveProxyTargetClass exception message
11 years ago
Juergen Hoeller
bd87ff7f92
Removed TestGroup.LONG_RUNNING marker from Groovy and JRuby tests
11 years ago
Rossen Stoyanchev
5068eb2e01
Add minor optimization to AbstractErrors
...
Issue: SPR-11304
11 years ago
Juergen Hoeller
ee2022e54c
Polishing
11 years ago
Juergen Hoeller
0de307bb65
Consistent equals/hashCode/toString implementations in AnnotationMatchingPointcut/ClassFilter/MethodMatcher
...
Issue: SPR-11275
Issue: SPR-11276
11 years ago
Juergen Hoeller
640d8cb67f
Consistent implementation of AsyncListenableTaskExecutor
...
Issue: SPR-11282
11 years ago
Juergen Hoeller
6a5a3c97ed
Introduced OptionalValidatorFactoryBean for scenarios where the JSR-303 API is present but no Bean Validation Provider is available (used by the MVC namespace)
...
Issue: SPR-11272
11 years ago
Juergen Hoeller
8d1e55d101
Avoid hard reference to LocalValidatorFactoryBean in <mvc:annotation-driven> parser
...
Issue: SPR-11272
(cherry picked from commit c48da0d
)
11 years ago
Juergen Hoeller
f0d21510f5
Polishing
...
Issue: SPR-11259
11 years ago
Juergen Hoeller
5e00113c65
Added extensive default converters for JSR-310 value types
...
Also adding several further Joda-Time converters for consistency with JSR-310 converters.
Issue: SPR-11259
11 years ago
Sam Brannen
710fdc73f1
Polish Javadoc for Groovy bean support classes
11 years ago
Juergen Hoeller
a884cde18c
Upgraded to JCache 1.0 RC1
...
Also completing 4.0's consistency efforts between Spring's cache adapters.
11 years ago
Juergen Hoeller
b1460742c3
InjectionMetadata caching per bean name needs to refresh when bean class changes
...
Issue: SPR-11246
11 years ago
Juergen Hoeller
bfba53f958
Fixed handling of primitive vararg array in CacheOperationContext
...
Issue: SPR-11249
11 years ago
Juergen Hoeller
67abeb4722
SpEL performs String->String type conversion even within concatenated String
...
Issue: SPR-11215
11 years ago
Juergen Hoeller
23546b1234
Moved AnnotationBeanNameGenerator's String value check right before cast
...
Issue: SPR-11221
11 years ago
Juergen Hoeller
105e176a80
Fixed @Bean meta-annotation detection when using ASM
...
This turned out to be a bug in the ASM-based AnnotationMetadata implementation where has/getAnnotatedMethods didn't consider meta-annotations., in contrast to its StandardAnnotationMetadata sibling.
Issue: SPR-10488
11 years ago
Juergen Hoeller
61a3d04e91
Set scoped proxy role to same role as target definition
...
This allows scoped proxy definitions to override regular application bean definitions (again).
Issue: SPR-11229
11 years ago
Juergen Hoeller
e2f85fc1d0
Defensively detect non-empty String fields in @Scheduled
...
Issue: SPR-11223
11 years ago
Juergen Hoeller
b6970d3504
Removed obsolete JBoss 5.x support code from JBossLoadTimeWeaver
11 years ago
Sam Brannen
9eb58b9596
Polish Javadoc for ScopedProxyMode
11 years ago
Juergen Hoeller
21f680c861
Deprecated DefaultKeyGenerator
...
Issue: SPR-11210
11 years ago
Juergen Hoeller
aa6e6c1349
Polishing
11 years ago
Juergen Hoeller
106a973a4d
Prevent early FactoryBean creation for type checking purposes when coming from a factory method on yet another bean (e.g. from a configuration class)
...
Issue: SPR-11202
11 years ago
Juergen Hoeller
8d6d6be39a
MBean registration happens in a fully synchronized fashion for consistent results
...
Issue: SPR-11002
11 years ago
Juergen Hoeller
161819f141
Component scanning ignores attributes and meta-annotations on non-public annotations
...
Issue: SPR-11091
11 years ago
Juergen Hoeller
c5d797736b
Added tests for custom qualifier annotations on scoped @Bean methods
...
Issue: SPR-11116
11 years ago