Daniel Le
60ec736264
Fix */* in Javadoc
...
This commit changes {@code */*} to <code>*/*</code>
so that "*/*" is rendered correctly.
Closes gh-23439
2019-08-09 13:32:18 +02:00
Sam Brannen
0cdf992433
Fix grammar in Integration chapter regarding MDPs
2019-08-09 13:14:46 +02:00
Sam Brannen
e4fec9364c
Improve reference documentation for @Autowired's required attribute
...
Prior to this commit, the corresponding documentation was misleading.
Closes gh-23428
2019-08-09 11:37:46 +02:00
Sam Brannen
56c1e8ffd2
Polishing
2019-08-09 11:08:30 +02:00
Stephane Nicoll
977451064a
Merge branch '5.1.x'
2019-08-09 09:37:36 +02:00
Stephane Nicoll
122e2ca2ac
Merge pull request #23437 from wyhasany
...
* pr/23437:
Fix typo
Closes gh-23437
2019-08-09 09:37:00 +02:00
Michał Rowicki
806fcb3839
Fix typo
...
See gh-23437
2019-08-09 09:36:46 +02:00
Sam Brannen
a532afb15d
Use System.nanoTime() in StopWatch
...
Prior to this commit, StopWatch used System.currentTimeMillis() to
track and report running time in milliseconds.
This commit updates the internals of StopWatch to use System.nanoTime()
instead of System.currentTimeMillis(). Consequently, running time is
now tracked and reported in nanoseconds; however, users still have the
option to retrieve running time in milliseconds or seconds.
Closes gh-23235
2019-08-07 17:39:42 +02:00
Sam Brannen
50e5334378
Simplify assertions within MockMvc internals
2019-08-07 17:32:19 +02:00
Sam Brannen
d32cb7dac3
Avoid use of GenericTypeResolver.resolveParameterType() in tests
...
This commit avoids the use of the deprecated
GenericTypeResolver.resolveParameterType() method in tests in order to
avoid warnings in the Gradle build.
2019-08-07 14:23:15 +02:00
Sam Brannen
24f8d30935
Remove deprecated MergedAnnotations.SearchStrategy.EXHAUSTIVE constant
...
Closes gh-23391
2019-08-07 12:34:17 +02:00
Sam Brannen
a43ba052e9
Remove unnecessary loop in SerializableTypeWrapper
...
Since arbitrary levels of proxies do not occur, this commit replaces
the `while` loop in SerializableTypeWrapper.unwrap() with a simple
`if` statement.
Closes gh-23415
2019-08-07 12:24:48 +02:00
Sam Brannen
83956f8e8b
Overhaul StopWatchTests
2019-08-07 12:13:18 +02:00
Sam Brannen
03dd45fbd6
Use AssertJ in AnnotationAttributesTests
2019-08-06 18:18:16 +02:00
Sam Brannen
34767b14da
Merge branch '5.1.x'
2019-08-06 18:11:47 +02:00
Sam Brannen
30ebc3b8e2
Remove superfluous AnnotationAttributes#putIfAbsent implementation
...
Since Java 8, putIfAbsent() is a standard method in java.util.Map. We
therefore no longer need the custom implementation that overrides the
standard implementation in HashMap.
2019-08-06 18:10:13 +02:00
Sam Brannen
a092dc055e
Check for instanceof Throwable in AnnotationAttributes#assertNotException
...
Prior to this commit, AnnotationAttributes#assertNotException checked if
the attribute value was an instance of Exception. Although this was
typically sufficient, the scope was not always broad enough -- for
example, if AnnotationReadingVisitorUtils#convertClassValues stored a
Throwable in the map (such as a LinkageError).
This commit fixes this by checking for an instance of Throwable in
AnnotationAttributes#assertNotException.
Closes gh-23424
2019-08-06 18:06:00 +02:00
Sebastien Deleuze
23cd261b6b
Deprecate AnnotationConfigApplicationContext { } Kotlin extension
...
Closes gh-23420
2019-08-06 11:28:32 +02:00
Sam Brannen
4d6e359e25
Add missing @deprecated tags for ASM-based annotation search classes
2019-08-05 15:30:06 +02:00
Sam Brannen
82f301f42f
Polishing
2019-08-05 15:29:04 +02:00
Sam Brannen
e6ab6c9fe9
Add missing @deprecated tag for AnnotationMetadataReadingVisitor
2019-08-05 14:39:20 +02:00
Sam Brannen
c2f5dabeee
Polishing
2019-08-03 00:13:30 +02:00
Rossen Stoyanchev
63bf1bff23
Merge branch '5.1.x'
2019-08-02 16:33:02 +01:00
Rossen Stoyanchev
70be7117f3
Fix link to Spring AMQP and polish
...
Optimize section headings for dispaly in left hand navigation.
2019-08-02 16:32:01 +01:00
康智冬
5bb5b2b24d
Fix grammar in package-info.java
...
Closes gh-23401
2019-08-02 13:40:25 +02:00
Stephane Nicoll
d7a6ee5962
Merge branch '5.1.x'
2019-08-02 11:21:57 +02:00
Spring Buildmaster
f13a6d4f32
Next Development Version
2019-08-02 09:02:14 +00:00
Juergen Hoeller
53d067399d
Merge branch '5.1.x'
2019-08-02 01:46:26 +02:00
Juergen Hoeller
7c2e2d40af
Polishing
2019-08-02 01:39:02 +02:00
Juergen Hoeller
d8e624e97e
Consistent suppression of get/clearWarnings without target connection
...
See gh-23346
2019-08-02 01:19:16 +02:00
Sam Brannen
9be327985b
Polishing
2019-08-01 23:15:40 +02:00
Sam Brannen
ee2041388b
Fix typo in Javadoc for MergedAnnotations
2019-08-01 23:15:39 +02:00
Juergen Hoeller
7ac665b18e
Polishing
2019-08-01 22:42:33 +02:00
Rossen Stoyanchev
765d43b34f
Upgrade rsocket-core to 1.0.0-RC2
...
Closes gh-23359
2019-08-01 20:15:16 +01:00
Juergen Hoeller
9929d75260
Adapt to Spring Framework convention for static cache field names
...
See gh-23345
2019-08-01 18:55:17 +02:00
Sam Brannen
5e61e33c66
Introduce SpringTestContextFrameworkTestSuite as a convenience in IDE
2019-08-01 18:49:55 +02:00
Mark Paluch
1890e04df1
Introduce interface cache for EntityManager and Query types
...
We now reuse interfaces for EntityManager and Query classes that
are proxied through ExtendedEntityManagerCreator and SharedEntityManagerCreator.
These caches prevent excessive object allocations through
ClassUtils.getAllInterfacesForClass(…) and
ClassUtils.getAllInterfacesForClassAsSet(…).
2019-08-01 18:48:09 +02:00
Juergen Hoeller
96ea3a8924
Upgrade to Hibernate ORM 5.4.4
2019-08-01 16:23:21 +02:00
Juergen Hoeller
fd86f34057
Merge branch '5.1.x'
2019-08-01 15:27:06 +02:00
Juergen Hoeller
762ea3ea90
Document all remaining public methods on BeanDefinitionParserDelegate
...
Closes gh-23349
2019-08-01 15:26:11 +02:00
Juergen Hoeller
871bb57e02
TransactionAwareDataSourceProxy locally handles get/clearWarnings call
...
Closes gh-23346
2019-08-01 15:26:00 +02:00
Juergen Hoeller
aebc485eda
MethodParameter.equals properly checks overridden containing class
...
Closes gh-23352
2019-08-01 14:34:39 +02:00
Juergen Hoeller
49593f5399
Revise DependencyDescriptor etc to avoid MethodParameter deprecations
...
See gh-23385
2019-08-01 14:25:33 +02:00
Juergen Hoeller
b67dbe66ef
Revise use of ResolvableType in MethodParameter
...
Includes consistent use of getContainingClass()
2019-08-01 14:25:26 +02:00
Arjen Poutsma
8b1a2a70e1
Merge pull request #22606 from fred84/22391_conditional_view_caching
...
* 22391_conditional_view_caching:
Polish contribution
Add filter to AbstractCachingViewResolver
2019-08-01 13:54:00 +02:00
Arjen Poutsma
132fa702b7
Polish contribution
...
See gh-22606
2019-08-01 13:37:14 +02:00
Sergey Galkin
59aee923e4
Add filter to AbstractCachingViewResolver
...
This commit introduces a filter that specifies whether a View should be
cached by the AbstractCachingViewResolver or not.
Closes gh-22391
2019-08-01 13:37:14 +02:00
Juergen Hoeller
4612544505
Nullability refinements and related polishing
2019-08-01 13:04:46 +02:00
Stephane Nicoll
223074295d
Merge pull request #23394 from ijliym
...
* pr/23394:
Polish getTypeForFactoryBean comment
Closes gh-23394
2019-08-01 10:17:27 +02:00
liym@com
fde651a606
Polish getTypeForFactoryBean comment
...
See gh-23394
2019-08-01 10:17:11 +02:00