Juergen Hoeller
2efac5ad6b
JavaMailSenderImpl calls sendMessage with empty array instead of null
...
Issue: SPR-17540
(cherry picked from commit 16e9b83d43 )
2018-12-03 22:09:51 +01:00
Juergen Hoeller
c10a8bb3b8
Exclude FactoryBean implementation methods on CGLIB proxies as well
...
Issue: SPR-17374
(cherry picked from commit dc1e3b4628 )
2018-10-27 15:19:12 +02:00
Juergen Hoeller
973eb5deb6
MethodValidationInterceptor excludes FactoryBean metadata methods
...
Issue: SPR-17374
(cherry picked from commit 5f2d47a17e )
2018-10-14 21:16:01 +02:00
Juergen Hoeller
f5e6c707ae
Polishing
2018-09-19 22:51:35 +02:00
Juergen Hoeller
0e3f23eeb7
Polishing
2018-08-13 13:42:19 +02:00
Kazuhiro Sera
a80f4caf37
Fix typos detected by github.com/client9/misspell
...
(cherry picked from commit be211ceead )
2018-08-09 00:49:27 +02:00
Juergen Hoeller
f4c0421a7d
Polishing
...
(cherry picked from commit dc36bb34c7 )
2018-08-02 14:55:28 +02:00
Juergen Hoeller
ecf6c381be
SchedulerAccessor catches cluster race conditions on job rescheduling
...
Issue: SPR-17114
(cherry picked from commit fa97aab8be )
2018-08-02 14:55:22 +02:00
Juergen Hoeller
fd75600c26
Polishing
2018-07-31 21:37:40 +02:00
Juergen Hoeller
5da58393c1
Polishing
2018-07-26 15:55:15 +02:00
Juergen Hoeller
11fc086309
Prefer ArrayList/ArrayDeque over LinkedList for multi-element holders
...
LinkedList remains in place where a List is likely to remain empty or single-element (in order to avoid unused capacity).
Issue: SPR-17037
(cherry picked from commit 9c08a48 )
2018-07-19 00:08:13 +02:00
Juergen Hoeller
c0040a5508
Polishing
2018-07-18 14:03:54 +02:00
Juergen Hoeller
a631af80c1
Polishing
...
(cherry picked from commit 40efcc9 )
2018-06-28 16:42:14 +02:00
Stephane Nicoll
b5595c3904
Fix faulty BeanPostProcessorChecker logs with @EnableCaching
...
Issue: SPR-16896
2018-06-04 15:01:57 +02:00
Juergen Hoeller
af0a82931e
Polishing
...
(cherry picked from commit 1b728fb )
2018-05-30 11:59:30 +02:00
Juergen Hoeller
a3bcdbe371
SchedulerFactoryBean triggers shutdown after registration failure
...
Issue: SPR-16816
(cherry picked from commit 0098245 )
2018-05-16 09:09:44 +02:00
Juergen Hoeller
9601d4bb5b
Revised mime.types file with cpp extension and updated modification docs
...
Issue: SPR-16678
2018-04-03 12:23:09 +02:00
Juergen Hoeller
6102715b8d
Consistent treatment of proxy classes and interfaces for introspection
...
Issue: SPR-16675
Issue: SPR-16677
2018-04-03 02:42:41 +02:00
Juergen Hoeller
1cc513d7db
Consistent to/cc/bcc array handling and revised hashCode without text
...
Issue: SPR-16671
2018-03-29 23:44:04 +02:00
igor-suhorukov
407ecf7334
to get rid of "magic" time constants
2018-03-08 20:37:48 +01:00
igor-suhorukov
0f7485b01d
Polish: reorder the modifiers to comply with the Java Language Specification.
2018-03-08 17:57:47 +01:00
Juergen Hoeller
c2d5ca9811
Proper nullable return declaration for AbstractValueAdaptingCache.lookup
...
Issue: SPR-15540
2018-02-26 13:05:12 +01:00
Juergen Hoeller
9e55422334
Polishing
2018-02-25 15:38:32 +01:00
Juergen Hoeller
578c078082
Polishing
2018-02-22 15:14:20 +01:00
Juergen Hoeller
a5cbf5fe24
Consistent use of Collection.toArray with zero-sized array argument
...
Includes consistent use of ClassUtils.toClassArray (as non-null variant)
Issue: SPR-16523
2018-02-22 11:29:46 +01:00
Juergen Hoeller
d3cee45f30
Polishing
2018-02-13 13:15:29 +01:00
Vladimir Sitnikov
659f13be1c
Avoid creating message arguments to Assert.isABC calls
...
See 67f184293b
2018-02-13 12:31:49 +01:00
Juergen Hoeller
39201adca4
Consistent handling of InterruptedException
...
Issue: SPR-16479
2018-02-10 13:03:33 +01:00
Juergen Hoeller
c7f60d1799
SchedulerFactoryBean always ignores local factory settings in case of an external SchedulerFactory instance (expecting it to be fully initialized)
...
This commit includes various javadoc fixes and related refinements.
Issue: SPR-16439
2018-01-30 22:35:42 +01:00
Juergen Hoeller
cd57335e46
SchedulerFactoryBean ignores local factory settings in case of external SchedulerFactory instance (unless it extends from StdSchedulerFactory)
...
Issue: SPR-16439
2018-01-30 21:31:04 +01:00
Juergen Hoeller
857a5b03b7
SchedulerFactoryBean accepts external Quartz SchedulerFactory instance
...
Issue: SPR-16439
2018-01-30 16:55:09 +01:00
Juergen Hoeller
b5cedd43eb
Consistent and efficient access to BeanDefinition argument values
...
Issue: SPR-16192
2017-11-13 21:51:11 +01:00
Juergen Hoeller
3091feee23
SpringValidatorAdapter skips value retrieval for Set field without index
...
Issue: SPR-16177
2017-11-13 21:50:55 +01:00
Juergen Hoeller
9288990603
Varargs and consistent nullability in MailMessage implementations
...
Issue: SPR-15756
2017-10-21 23:18:54 +02:00
Juergen Hoeller
efce7902c4
Polishing
2017-09-27 01:34:11 +02:00
Juergen Hoeller
7ae59d0c2a
Nullability refinements on private and static methods
...
Based on IntelliJ IDEA 2017.3 introspection results.
Issue: SPR-15756
2017-09-22 18:22:14 +02:00
Sebastien Deleuze
1bc93e3d0f
Revisit nullability annotations
...
This commit introduces the following changes.
1) It adds a new Spring @NonNull annotation which allows to apply
@NonNullApi semantic on a specific element, like @Nullable does.
Combined with @Nullable, it allows partial null-safety support when
package granularity is too broad.
2) @Nullable and @NonNull can apply to ElementType.TYPE_USE in order
to be used on generic type arguments (SPR-15942).
3) Annotations does not apply to ElementType.TYPE_PARAMETER anymore
since it is not supported yet (applicability for such use case is
controversial and need to be discussed).
4) @NonNullApi does not apply to ElementType.FIELD anymore since in a
lot of use cases (private, protected) it is not part for the public API
+ its usage should remain opt-in. A dedicated @NonNullFields annotation
has been added in order to set fields default to non-nullable.
5) Updated Javadoc and reference documentation.
Issue: SPR-15756
2017-09-15 13:26:41 +02:00
Juergen Hoeller
30d67f7c42
Tests for @Lazy Validator setup
...
Issue: SPR-15807
2017-09-10 21:56:23 +02:00
Juergen Hoeller
26284cac4f
Hibernate Validator 5 compatible support for element constraints
...
Issue: SPR-15916
Issue: SPR-15839
2017-09-01 16:40:24 +02:00
Juergen Hoeller
fac1f236c3
Upgrade to Servlet API 4.0 for MVC and merge EhCache 3 tests into spring-context-support
...
Includes general streamlining of dependency declarations with reduced version variables, direct use of EclipseLink 2.7 and its implicit JPA 2.2 dependency in spring-orm, mixed use of Hibernate 5.2.10 and 5.1.10 for integration tests, as well as an upgrade to Jetty 9.4.7 RC0 and a downgrade to Groovy 2.4.12 (since Groovy 2.5 won't be final in time for Spring Framework 5.0).
Issue: SPR-15879
Issue: SPR-15880
2017-08-21 01:34:11 +02:00
Sebastien Deleuze
73cf07e9a4
Fix overridden methods nullability
...
Issue: SPR-15869
2017-08-17 15:02:59 +02:00
Juergen Hoeller
de09f8ca1f
Support for Bean Validation 2.0 container elements (with BV 2.0 test setup)
...
Includes latest dependency updates (Hibernate Validator 6.0.1, Caffeine 2.5.4, Netty 4.1.14, Tomcat 8.5.19, Johnzon 1.1.2, JsonPath 2.4, Jython 2.7.1)
Issue: SPR-15839
Issue: SPR-15808
2017-08-08 17:26:30 +02:00
Juergen Hoeller
46eba3dbfa
Nullability fine-tuning around declaration inconsistencies
...
Issue: SPR-15720
Issue: SPR-15792
2017-07-19 22:22:20 +02:00
Sebastien Deleuze
fb4ddb0746
Make getters and setters null-safety consistent
...
This commit ensure that null-safety is consistent between
getters and setters in order to be able to provide beans
with properties with a common type when type safety is
taken in account like with Kotlin.
It also add a few missing property level @Nullable
annotations.
Issue: SPR-15792
2017-07-19 09:07:56 +02:00
Juergen Hoeller
e7b77cb2b6
Drop legacy DisposableBean declaration on AbstractApplicationContext
...
Issue: SPR-15154
2017-07-07 20:50:35 +02:00
Juergen Hoeller
cc74a2891a
@Nullable all the way: null-safety at field level
...
This commits extends nullability declarations to the field level, formalizing the interaction between methods and their underlying fields and therefore avoiding any nullability mismatch.
Issue: SPR-15720
2017-06-30 01:54:16 +02:00
Stephane Nicoll
1ab678a2a3
Polish "Refactor iterator of Map with Java8's Map.forEach"
...
Closes gh-1459
2017-06-13 16:06:20 +02:00
diguage
1ef5f61ab2
Refactor iterator of Map with Java8's Map.forEach
...
See gh-1459
2017-06-13 16:06:20 +02:00
Stephane Nicoll
58242f2249
Polish
2017-06-13 10:13:14 +02:00
Stephane Nicoll
fc64b8040f
Polish "Replace relevant code with lambda"
...
Closes gh-1454
2017-06-13 09:42:20 +02:00