Fix typos
See gh-2019
This commit is contained in:
@@ -158,10 +158,10 @@ public abstract class BodyInserters {
|
||||
|
||||
Assert.notNull(eventsPublisher, "Publisher must not be null");
|
||||
return (serverResponse, context) -> {
|
||||
ResolvableType elmentType = SSE_TYPE;
|
||||
ResolvableType elementType = SSE_TYPE;
|
||||
MediaType mediaType = MediaType.TEXT_EVENT_STREAM;
|
||||
HttpMessageWriter<ServerSentEvent<T>> writer = findWriter(context, elmentType, mediaType);
|
||||
return write(eventsPublisher, elmentType, mediaType, serverResponse, context, writer);
|
||||
HttpMessageWriter<ServerSentEvent<T>> writer = findWriter(context, elementType, mediaType);
|
||||
return write(eventsPublisher, elementType, mediaType, serverResponse, context, writer);
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -86,7 +86,7 @@ public class FreeMarkerConfigurer extends FreeMarkerConfigurationFactory
|
||||
|
||||
/**
|
||||
* Initialize FreeMarkerConfigurationFactory's Configuration
|
||||
* if not overridden by a pre-configured FreeMarker Configuation.
|
||||
* if not overridden by a pre-configured FreeMarker Configuration.
|
||||
* <p>Sets up a ClassTemplateLoader to use for loading Spring macros.
|
||||
* @see #createConfiguration
|
||||
* @see #setConfiguration
|
||||
|
||||
Reference in New Issue
Block a user