From 1dcb6236a639ff74f9060487ed968a289c13f97f Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Mon, 13 Aug 2018 11:54:05 +0200 Subject: [PATCH] Fix broken links in JavaDoc First step (as proof of concept) toward addressing SPR-17174. Issue: SPR-17174 --- .../http/codec/xml/XmlEventDecoder.java | 14 ++++++++------ .../config/annotation/WebMvcConfigurer.java | 2 +- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/spring-web/src/main/java/org/springframework/http/codec/xml/XmlEventDecoder.java b/spring-web/src/main/java/org/springframework/http/codec/xml/XmlEventDecoder.java index 696f470c521..4971353b994 100644 --- a/spring-web/src/main/java/org/springframework/http/codec/xml/XmlEventDecoder.java +++ b/spring-web/src/main/java/org/springframework/http/codec/xml/XmlEventDecoder.java @@ -47,17 +47,19 @@ import org.springframework.util.MimeTypeUtils; import org.springframework.util.xml.StaxUtils; /** - * Decodes a {@link DataBuffer} stream into a stream of {@link XMLEvent DataBuffer} stream into a stream of {@link XMLEvents}. - * That is, given the following XML: + * Decodes a {@link DataBuffer} stream into a stream of {@link XMLEvent XMLEvents}. * - *
+ * 

Given the following XML: + * + *

  * <root>
  *     <child>foo</child>
  *     <child>bar</child>
  * </root>
  * 
* - * this method with result in a flux with the following events: + * this decoder will produce a {@link Flux} with the following events: + * *
    *
  1. {@link javax.xml.stream.events.StartDocument}
  2. *
  3. {@link javax.xml.stream.events.StartElement} {@code root}
  4. @@ -70,8 +72,8 @@ import org.springframework.util.xml.StaxUtils; *
  5. {@link javax.xml.stream.events.EndElement} {@code root}
  6. *
* - * Note that this decoder is not registered by default but used internally - * by other decoders who are there by default. + *

Note that this decoder is not registered by default but is used internally + * by other decoders which are registered by default. * * @author Arjen Poutsma * @since 5.0 diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurer.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurer.java index edd833da081..46269f7e317 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurer.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurer.java @@ -82,7 +82,7 @@ public interface WebMvcConfigurer { } /** - * Add {@link Converter}s and {@link Formatter Converter}s and {@link Formatters} in addition to the ones + * Add {@link Converter Converters} and {@link Formatter Formatters} in addition to the ones * registered by default. */ default void addFormatters(FormatterRegistry registry) {