Commit Graph

18413 Commits

Author SHA1 Message Date
Sam Brannen
9486ece0d8 Remove unnecessary folders and files from PDF reference documentation
Prior to this commit, the asciidoctor Gradle task was configured to
generate both the HTML5 and PDF backends. Unfortunately, this resulted
in resources such as HTML, JavaScript, CSS, and images being published
alongside the generated PDF documents.

This commit addresses this issue by introducing the use of a dedicated
asciidoctorPdf Gradle task. The existing asciidoctor Gradle task has
been modified to only generate HTML5 output.

In addition, the asciidoctor task now has a dynamic dependency on the
asciidoctorPdf task if the current project version is a non-SNAPSHOT
version. Thus, invoking `./gradlew asciidoctor` will still generate both
the HTML5 and PDF outputs for non-SNAPSHOT versions; whereas,
`./gradlew asciidoctorPdf` will generate only the PDF outputs regardless
of the current project version.

See gh-25783
2020-09-21 16:53:57 +02:00
Juergen Hoeller
560fec51a1 Consistent flushing of given OutputStream
(cherry picked from commit f5d7161d6b)
2020-09-18 19:25:02 +02:00
Juergen Hoeller
8fe530c449 Polishing (backported from 5.2.x) 2020-09-18 18:35:29 +02:00
Juergen Hoeller
5b4f3e871f Construct StringWriter instances with appropriate initial size
Closes gh-25789

(cherry picked from commit 9dfef59af2)
2020-09-18 18:33:00 +02:00
Sam Brannen
547a13985a Fix example in Javadoc for Assert.notNull(object, messageSupplier)
Closes gh-25774
2020-09-15 16:30:35 +02:00
Spring Buildmaster
216c4a1c93 Next Development Version 2020-09-15 09:02:55 +00:00
Juergen Hoeller
a3bb9b2fe4 Polishing
(cherry picked from commit f010368a66)
2020-09-15 10:12:51 +02:00
Juergen Hoeller
c2b2701f23 Upgrade to Reactor Californium-SR21
Includes Undertow 2.0.31 and Checkstyle 8.36.1 as well.

Closes gh-25731
2020-09-14 23:15:45 +02:00
Juergen Hoeller
ec87fdb028 Polishing 2020-09-14 23:13:24 +02:00
Juergen Hoeller
c1f534548d Javadoc refinement (aligned with 5.2.x)
See gh-25509
2020-09-08 12:42:03 +02:00
Juergen Hoeller
b7883c3e37 FileUrlResource.isWritable() exclusively relies on getFile() implementation
Closes gh-25584

(cherry picked from commit c6cc6705ef)
2020-09-08 12:38:49 +02:00
Rossen Stoyanchev
5de4f756f3 Explain how to provide serialization view programmatically
Closes gh-25596
2020-09-08 11:33:13 +01:00
Rossen Stoyanchev
385c97db9f Expose protected method in AbstractJackson2HttpMessageConverter
Closes gh-25509
2020-09-08 11:27:27 +01:00
Rossen Stoyanchev
32cbbfe111 UriComponentsBuilder Javadoc update
Closes gh-25604
2020-09-08 11:24:01 +01:00
Rossen Stoyanchev
ca4a696a70 Switch to Reactor Californium snapshots
See gh-25731
2020-09-08 11:10:39 +01:00
Rossen Stoyanchev
a63c8886c0 Avoid unnecessary parsing of path params
Closes gh-25690
2020-09-08 11:07:22 +01:00
Rossen Stoyanchev
2281e42191 Shared read-only instances of UrlPathHelper
UrlPathHelper is often created and used without customizations or with
the same customizations. This commit introduces re-usable, instances.
Effectively a backport of commit 23233c.

Closes gh-25690
2020-09-08 10:55:36 +01:00
Juergen Hoeller
55d07566ac Javadoc refinements 2020-09-07 19:15:03 +02:00
Juergen Hoeller
2fd06bda3a Polishing (backported from 5.2.x) 2020-09-07 18:21:02 +02:00
Juergen Hoeller
337d5874b1 Properties loading with ignoreResourceNotFound covers SocketException as well
Closes gh-25717

(cherry picked from commit 613b05d814)
2020-09-07 18:06:19 +02:00
Juergen Hoeller
400b39da3f Revise documentation notes on getParameterType performance issues
See gh-25679

(cherry picked from commit 939c76c4a5)
2020-09-05 13:27:48 +02:00
Juergen Hoeller
c5d3bcfb14 Restore original 4.x behavior for initialization of function return name
Closes gh-25707

(cherry picked from commit 40bf83c9e5)
2020-09-05 13:27:05 +02:00
Juergen Hoeller
9b7f64a102 Fix SpEL generated code for default method invocation
Closes gh-25706

(cherry picked from commit c368ce8223)
2020-09-05 13:26:49 +02:00
Juergen Hoeller
755721fd21 Avoid full singleton lock for getSingleton(beanName, false)
Closes gh-25667

(cherry picked from commit d8c420ab75)
2020-09-04 00:38:10 +02:00
Juergen Hoeller
0ecdf0ba7c Retry SQLErrorCodesFactory retrieval if DatabaseMetaData access failed
Closes gh-25681
2020-09-03 23:15:06 +02:00
Stephane Nicoll
81d5e66fe7 Make DataSize serializable
Closes gh-25676
2020-09-02 14:45:32 +02:00
Juergen Hoeller
b95edb549b Upgrade to Checkstyle 8.36 2020-09-01 23:43:36 +02:00
Juergen Hoeller
b0b4b47bae Explicit nullability declarations for getTarget() implementations 2020-09-01 23:31:00 +02:00
Juergen Hoeller
c9573a4fb6 Polishing 2020-09-01 10:47:37 +02:00
Juergen Hoeller
210dd0392f Upgrade to AspectJ 1.9.6 2020-08-28 22:59:04 +02:00
Juergen Hoeller
db3570d0cf Polishing 2020-08-28 22:54:06 +02:00
Juergen Hoeller
eba1aba9f5 Specifically detect Joda-Time 2.x
Closes gh-25655
2020-08-28 22:21:09 +02:00
Juergen Hoeller
0117a5f4c9 Polishing
(cherry picked from commit bb9e79daa7)
2020-08-28 22:20:44 +02:00
Juergen Hoeller
72683766dc Upgrade to Checkstyle 8.35 2020-08-27 16:29:48 +02:00
Juergen Hoeller
3a9896b849 Polishing 2020-08-27 16:28:59 +02:00
Juergen Hoeller
eb483d1028 Upgrade to Hibernate ORM 5.3.18 2020-08-27 15:35:09 +02:00
Juergen Hoeller
2891dc6409 Polishing 2020-08-27 15:33:08 +02:00
Juergen Hoeller
f7440884c9 Avoid potential integer overflow in seconds->millis transformation
Closes gh-25613
2020-08-27 15:32:54 +02:00
Juergen Hoeller
1a6a4598a1 Populate dependencies metadata for resolved target behind lazy dependency proxy
Closes gh-25562
2020-08-07 21:56:41 +02:00
Juergen Hoeller
2a331ab9e2 Upgrade to Jetty 9.4.31 2020-08-07 15:48:53 +02:00
Juergen Hoeller
46c296b154 Polishing 2020-08-07 15:48:13 +02:00
Juergen Hoeller
bfd20da9de Polishing (backported from 5.2.x) 2020-08-07 14:51:08 +02:00
Juergen Hoeller
ce4001dd40 Refine use of substring operations
Closes gh-25445
2020-08-07 14:50:44 +02:00
Juergen Hoeller
b254777744 Reset charset field in MockHttpServletResponse
Closes gh-25501
2020-08-07 14:50:36 +02:00
Juergen Hoeller
d9f9f8b0de Avoid unnecessary computation of cleaned URL
Closes gh-25531

(cherry picked from commit 96a4e1150e)
2020-08-07 14:50:29 +02:00
Sam Brannen
4e70e4c81d Regression tests for @RestControllerAdvice support in MockMvc
This commit introduces regression tests for @RestControllerAdvice
support in standalone MockMvc configurations.

See gh-25520
2020-08-05 18:17:06 +02:00
Sam Brannen
f868486be5 Fix bug in StaticListableBeanFactory.isSingleton()
Prior to this commit, StaticListableBeanFactory.isSingleton() returned
false for singleton beans unless they were created by a FactoryBean.

StaticListableBeanFactory.isSingleton() now properly returns true for
all beans not created by a FactoryBean.

Closes gh-25522
2020-08-04 15:51:27 +02:00
Spring Buildmaster
a67ac8267f Next Development Version 2020-07-21 07:09:40 +00:00
Juergen Hoeller
35adf2b1bc Defer creating logger in StandardWebSocketHandlerAdapter to instantiation time
Closes gh-25427

(cherry picked from commit 64f4703445)
2020-07-20 17:12:51 +02:00
Rossen Stoyanchev
6be892e03d Upgrade to Reactor Californium-SR20
Closes gh-25412
2020-07-20 16:39:47 +03:00