Moran Avigdor
7d5e474e0d
Recursively copy directory with symbolic link
...
The following modification will also recursively traverse the directory that the symbolic link points to.
This modification is not proposed for deleteRecursively, since it can be harmful if not intended.
This modification relates to the following commit:
Consistent use of NIO.2 for file read/write interactions
Issue: SPR-15748
12114a9
2020-04-03 21:05:26 +02:00
Sam Brannen
9f0ce09cf0
Update copyright date
2020-04-02 16:33:50 +02:00
Sam Brannen
0636ba68d7
Fix Javadoc in PathPattern ( #24841 )
...
* corrected javadoc
* Revert change to PathPattern Javadoc
Co-authored-by: Sam Brannen <sbrannen@pivotal.io >
2020-04-02 16:29:27 +02:00
Sam Brannen
c9e13d448a
Revert change to PathPattern Javadoc
2020-04-02 16:28:26 +02:00
Rossen Stoyanchev
897557fd1b
Fix faulty tests
...
The tests were doing Callable async request processing in the main
thread which was already bound (via HandlerInterceptor#preProcess).
This leads to an ISE from TransactionSynchronizationManager#bindResource
but it went unnoticed because there is no Servlet container and no
async dispatch to continue processing.
See gh-24835
2020-04-02 09:31:00 +01:00
Rossen Stoyanchev
6f0a76a65f
Polishing
...
See gh-24835
2020-04-02 08:34:44 +01:00
Gurps Bassi
4aca91c3b0
corrected javadoc
2020-04-01 22:05:53 +01:00
Rossen Stoyanchev
7d0f48289b
Improve error handling in WebAsyncManager
...
See gh-24835
2020-04-01 18:35:22 +01:00
Sam Brannen
a842434bff
Document precedence for @DynamicPropertySource
...
Closes gh-24837
2020-04-01 18:09:31 +02:00
Jay Bryant
b7eb983107
Update to spring-doc-resources version 0.2.0
...
This commit updates the spring-doc-resources version to 0.2.0 to get the
latest look and feel in the HTML version of the reference manual.
Closes gh-24831
2020-04-01 14:52:58 +02:00
陈其苗
13970ae528
Use autoboxing instead of explicit wrapping in tests
...
Closes gh-24801
2020-04-01 14:34:20 +02:00
Sam Brannen
d8567749b8
Fix Javadoc
2020-03-31 19:14:56 +02:00
Sam Brannen
01cf0a3d4e
Polish MBeanClientInterceptorTests and recover two lost tests
...
Two test methods were missing the @Test annotation after the migration
from JUnit 3 to JUnit 4.
2020-03-31 19:02:15 +02:00
Sam Brannen
9bd74c270f
Remove flaky check in MBeanClientInterceptorTests
...
Prior to this commit, the testTestLazyConnectionToRemote() method in
MBeanClientInterceptorTests expected an exception to be thrown while
attempting to access the state of a proxied MBean after the MBeanServer
had been shutdown; however, the test occasionally failed if the server
had not been properly shutdown.
Since an attempt to wait on the server to shutdown proved not to be
consistently helpful in this scenario, we are entirely removing this
check from the test.
2020-03-31 18:55:54 +02:00
Sam Brannen
89d282125a
Ensure logPrefix is not null or blank in AbstractListenerWriteProcessor
2020-03-31 18:49:05 +02:00
Sam Brannen
e87ab6f4ee
Update Javadoc for AbstractListenerWriteProcessor.write()
...
Co-authored-by: Rossen Stoyanchev <rstoyanchev@pivotal.io >
2020-03-31 18:47:06 +02:00
Rossen Stoyanchev
99c2b1e242
Add snippet for maxInMemorySize config
...
See gh-23961
2020-03-31 17:08:12 +01:00
Juergen Hoeller
1795a6ad0a
Upgrade to Hibernate ORM 5.4.13, Apache Johnzon 1.2.4, OpenPDF 1.3.14, Woodstox 6.1.1
2020-03-31 16:44:02 +02:00
Sam Brannen
ddaf0029ae
Polishing
2020-03-31 16:31:34 +02:00
Rossen Stoyanchev
95ef9c25c2
Reduce byte[] allocations in StompEncoder
...
Closes gh-24694
2020-03-31 12:56:10 +01:00
Sam Brannen
329f08ad08
Suppress warnings in Gradle build
2020-03-31 12:17:58 +02:00
Sam Brannen
e26764d249
Remove duplicate words in documentation and polish Javadoc
2020-03-31 12:17:58 +02:00
Sam Brannen
53106d5741
Polishing
2020-03-31 10:40:04 +02:00
Juergen Hoeller
3ad42aa983
Upgrade to Tomcat 9.0.33, FreeMarker 2.3.30, Apache HttpClient 4.5.12, WebJars Locator 0.44, JRuby 9.2.11.1
2020-03-30 19:04:06 +02:00
Taehee Kim
8b3521d2bf
Fix typo in webflux-cors.adoc
...
Closes gh-24815
2020-03-30 14:00:25 +02:00
Sam Brannen
ee42e3e730
Polish StreamUtils
2020-03-30 13:57:09 +02:00
Sam Brannen
9e30620ac2
Polish contribution
...
See gh-24805
2020-03-30 13:47:00 +02:00
Сергей Цыпанов
e63d1cf12d
Improve usage of ByteArrayOutputStream/ByteArrayInputStream
...
Closes gh-24805
2020-03-30 13:22:21 +02:00
Qimiao Chen
821984a5cf
Remove unnecessary assignment in PropertiesBeanDefinitionReader
...
Closes gh-24804
2020-03-30 12:41:19 +02:00
Qimiao Chen
f8ff4e42b9
Use try-with-resource to close resources
...
Closes gh-24807
2020-03-30 12:05:29 +02:00
Qimiao Chen
7c831d2ef4
Replace anonymous inner classes with lambdas in tests
...
Closes gh-24808
2020-03-30 12:02:23 +02:00
Qimiao Chen
7db00c9e22
Remove incorrect @Nullable in DynamicPropertiesContextCustomizer
...
Closes gh-24796
2020-03-28 15:29:01 +01:00
Qimiao Chen
5d6139eb7a
Set initialValue of NamedThreadLocal in XmlBeanDefinitionReader
...
This commit overrides initialValue() of NamedThreadLocal to lazily initialize
the set used in XmlBeanDefinitionReader.
Closes gh-24800
2020-03-27 14:58:55 +01:00
Sam Brannen
06fa8692cd
Attempt to make MBeanClientInterceptorTests more robust
2020-03-27 11:18:45 +01:00
Qimiao Chen
c77853b766
Remove unnecessary mem alloc in CollectingReaderEventListener
...
Closes gh-24799
2020-03-27 11:00:05 +01:00
Rossen Stoyanchev
a606fb4b21
Fix checkstyle errors
2020-03-26 22:02:32 +00:00
Rossen Stoyanchev
6f1ea14718
Merge pull request #24786 from stsypanov/data-buffer
...
Closes gh-24786
2020-03-26 21:42:33 +00:00
Rossen Stoyanchev
3175f0771e
Remove dumpString from DataBufferTestUtils
...
See gh-24786
2020-03-26 21:42:12 +00:00
Rossen Stoyanchev
7aa06b8610
Polishing contribution
...
See gh-24786
2020-03-26 21:42:12 +00:00
Сергей Цыпанов
f17b0125ff
Simplify conversion of DataBuffer to String
...
See gh-24786
2020-03-26 21:42:12 +00:00
Sam Brannen
ac11acb532
Optimize sorting in PostProcessorRegistrationDelegate
...
Closes gh-24776
2020-03-26 17:32:38 +01:00
Rossen Stoyanchev
dd3dd5d67d
UriComponentsBuilder.cloneBuilder copies uriVariables
...
Closes gh-24772
2020-03-26 16:31:25 +00:00
Juergen Hoeller
593a2ade91
Expose context class for interface-based CGLIB proxies as well
...
Closes gh-24657
2020-03-26 17:30:37 +01:00
Rossen Stoyanchev
f720225c22
Merge toBodilessEntity fix and refactoring
...
Closes gh-24788
2020-03-26 15:59:44 +00:00
Rossen Stoyanchev
1822f272c7
toBodilessEntity() actually drains response body
...
See gh-24788
2020-03-26 15:59:28 +00:00
Rossen Stoyanchev
5309757026
WebClientIntegrationTests refactoring
...
- consistent test naming
- grouping by category and logical ordering within category
- consolidate overlapping tests
- polishing
See gh-24788
2020-03-26 15:59:04 +00:00
Rossen Stoyanchev
d1cf16320b
Minor refactoring and polishing in WebClientUtils
...
See: gh-24788
2020-03-26 15:59:04 +00:00
Sam Brannen
6222efc54b
Polish contribution
...
See gh-24785
2020-03-26 16:52:24 +01:00
Сергей Цыпанов
65aa2d03f0
Simplify conversion of ByteArrayOutputStream to String
...
Closes gh-24785
2020-03-26 16:52:14 +01:00
Andy Wilkinson
62c545d0ed
Upgrade to Gradle Build Scan Plugin 3.2
...
Closes gh-24793
2020-03-26 16:27:06 +01:00