Skip to content

Commit a9c4732

Browse files
committed
Update javadoc to be Java 11 compatible
Closes gh-687
1 parent 0146f1a commit a9c4732

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ configure(publishedCodeProjects) { subproject ->
155155
options.links = javadocLinks
156156
options.addStringOption '-quiet'
157157
options.encoding = 'UTF-8'
158+
options.source = '1.8'
158159
}
159160

160161
task sourcesJar(type: Jar) {

spring-restdocs-core/src/main/java/org/springframework/restdocs/payload/PayloadDocumentation.java

+4-2
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ private PayloadDocumentation() {
6868
*
6969
* The following paths are all present:
7070
*
71-
* <table summary="Paths and their values">
71+
* <table>
72+
* <caption>Paths that are present and their values</caption>
7273
* <tr>
7374
* <th>Path</th>
7475
* <th>Value</th>
@@ -132,7 +133,8 @@ public static FieldDescriptor fieldWithPath(String path) {
132133
*
133134
* The following paths are all present:
134135
*
135-
* <table summary="Paths and their values">
136+
* <table>
137+
* <caption>Paths that are present and their values</caption>
136138
* <tr>
137139
* <th>Path</th>
138140
* <th>Value</th>

0 commit comments

Comments
 (0)