Improve how the build deals with javadoc invalid references
This commit improves how the build deals with javadoc invalid references in two ways. Link/see references that are temporarily invalid during javadoc generation of individual modules are better masked by using the option `Xdoclint:syntax` instead of `Xdoclint:none` (warnings were still visible in some cases, e.g. when individually building the javadoc for a specific module). Global javadoc-building task `api` now combines `syntax` and `reference` `Xdoclint` groups, allowing to raise truly invalid references even when all the modules have been aggregated. This commit also fixes the 20+ errors which appeared following the later change in doclet configuration. Closes gh-30428
This commit is contained in:
@@ -66,7 +66,7 @@ public abstract class HttpAccessor {
|
||||
* Configure the Apache HttpComponents or OkHttp request factory to enable PATCH.</b>
|
||||
* @see #createRequest(URI, HttpMethod)
|
||||
* @see SimpleClientHttpRequestFactory
|
||||
* @see org.springframework.http.client.HttpComponentsAsyncClientHttpRequestFactory
|
||||
* @see org.springframework.http.client.HttpComponentsClientHttpRequestFactory
|
||||
* @see org.springframework.http.client.OkHttp3ClientHttpRequestFactory
|
||||
*/
|
||||
public void setRequestFactory(ClientHttpRequestFactory requestFactory) {
|
||||
|
||||
@@ -383,7 +383,7 @@ public interface RestOperations {
|
||||
* @since 4.3.5
|
||||
* @see HttpEntity
|
||||
* @see RestTemplate#setRequestFactory
|
||||
* @see org.springframework.http.client.HttpComponentsAsyncClientHttpRequestFactory
|
||||
* @see org.springframework.http.client.HttpComponentsClientHttpRequestFactory
|
||||
* @see org.springframework.http.client.OkHttp3ClientHttpRequestFactory
|
||||
*/
|
||||
@Nullable
|
||||
@@ -406,7 +406,7 @@ public interface RestOperations {
|
||||
* @since 4.3.5
|
||||
* @see HttpEntity
|
||||
* @see RestTemplate#setRequestFactory
|
||||
* @see org.springframework.http.client.HttpComponentsAsyncClientHttpRequestFactory
|
||||
* @see org.springframework.http.client.HttpComponentsClientHttpRequestFactory
|
||||
* @see org.springframework.http.client.OkHttp3ClientHttpRequestFactory
|
||||
*/
|
||||
@Nullable
|
||||
@@ -427,7 +427,7 @@ public interface RestOperations {
|
||||
* @since 4.3.5
|
||||
* @see HttpEntity
|
||||
* @see RestTemplate#setRequestFactory
|
||||
* @see org.springframework.http.client.HttpComponentsAsyncClientHttpRequestFactory
|
||||
* @see org.springframework.http.client.HttpComponentsClientHttpRequestFactory
|
||||
* @see org.springframework.http.client.OkHttp3ClientHttpRequestFactory
|
||||
*/
|
||||
@Nullable
|
||||
|
||||
Reference in New Issue
Block a user