Polish
This commit is contained in:
@@ -62,15 +62,15 @@ public class WebMvcProperties {
|
||||
*/
|
||||
private boolean throwExceptionIfNoHandlerFound = false;
|
||||
|
||||
private final Async async = new Async();
|
||||
|
||||
private final View view = new View();
|
||||
|
||||
/**
|
||||
* Maps file extensions to media types for content negotiation, e.g. yml->text/yaml.
|
||||
*/
|
||||
private Map<String, MediaType> mediaTypes = new LinkedHashMap<String, MediaType>();
|
||||
|
||||
private final Async async = new Async();
|
||||
|
||||
private final View view = new View();
|
||||
|
||||
public DefaultMessageCodesResolver.Format getMessageCodesResolverFormat() {
|
||||
return this.messageCodesResolverFormat;
|
||||
}
|
||||
@@ -113,14 +113,6 @@ public class WebMvcProperties {
|
||||
this.throwExceptionIfNoHandlerFound = throwExceptionIfNoHandlerFound;
|
||||
}
|
||||
|
||||
public Async getAsync() {
|
||||
return this.async;
|
||||
}
|
||||
|
||||
public View getView() {
|
||||
return this.view;
|
||||
}
|
||||
|
||||
public Map<String, MediaType> getMediaTypes() {
|
||||
return this.mediaTypes;
|
||||
}
|
||||
@@ -129,6 +121,14 @@ public class WebMvcProperties {
|
||||
this.mediaTypes = mediaTypes;
|
||||
}
|
||||
|
||||
public Async getAsync() {
|
||||
return this.async;
|
||||
}
|
||||
|
||||
public View getView() {
|
||||
return this.view;
|
||||
}
|
||||
|
||||
public static class Async {
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user