Polish Javadoc for FreeMarker support

This commit is contained in:
Sam Brannen
2019-06-10 16:03:16 +03:00
parent b58f34d802
commit ac28de0dc1
7 changed files with 11 additions and 11 deletions

View File

@@ -44,10 +44,10 @@ import org.springframework.web.util.UriTemplate;
* use, current locale, binding errors, etc. Provides easy access to localized
* messages and Errors instances.
*
* <p>Suitable for exposition to views, and usage within FreeMarker templates,
* <p>Suitable for exposition to views, and usage within FreeMarker templates
* and tag libraries.
*
* <p>Can be instantiated manually, or automatically exposed to views as model
* <p>Can be instantiated manually or automatically exposed to views as a model
* attribute via AbstractView's "requestContextAttribute" property.
*
* @author Rossen Stoyanchev

View File

@@ -188,7 +188,7 @@ public class UrlBasedViewResolver extends ViewResolverSupport
}
/**
* Return the name of the @link RequestContext} attribute for all views, if any.
* Return the name of the {@link RequestContext} attribute for all views, if any.
*/
@Nullable
protected String getRequestContextAttribute() {

View File

@@ -40,7 +40,7 @@ import org.springframework.util.Assert;
* using {@link FreeMarkerView}. It exists purely to configure FreeMarker.
* It is not meant to be referenced by application components but just internally
* by {@code FreeMarkerView}. Implements {@link FreeMarkerConfig} to be found by
* {@code FreeMarkerView} without depending on the bean name the configurer.
* {@code FreeMarkerView} without depending on the bean name of the configurer.
*
* <p>Note that you can also refer to a pre-configured FreeMarker Configuration
* instance via the "configuration" property. This allows to share a FreeMarker

View File

@@ -54,7 +54,7 @@ import org.springframework.web.server.ServerWebExchange;
*
* <p>Depends on a single {@link FreeMarkerConfig} object such as
* {@link FreeMarkerConfigurer} being accessible in the application context.
* Alternatively set the FreeMarker configuration can be set directly on this
* Alternatively the FreeMarker configuration can be set directly on this
* class via {@link #setConfiguration}.
*
* <p>The {@link #setUrl(String) url} property is the location of the FreeMarker