mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-04 00:09:01 +00:00
Polish "Align MustacheViewResolver with other similar resolvers"
See gh-24011
This commit is contained in:
+1
-1
@@ -77,7 +77,7 @@ public class MustacheViewResolver extends AbstractTemplateViewResolver {
|
||||
|
||||
@Override
|
||||
protected AbstractUrlBasedView instantiateView() {
|
||||
return (getViewClass() == MustacheView.class ? new MustacheView() : super.instantiateView());
|
||||
return (getViewClass() == MustacheView.class) ? new MustacheView() : super.instantiateView();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user