@ -16,7 +16,7 @@
package org.springframework.boot.autoconfigure.mustache ;
import org.springframework.boot.autoconfigure.template.Abstract ViewResolverProperties;
import org.springframework.boot.autoconfigure.template.Abstract Template ViewResolverProperties;
import org.springframework.boot.context.properties.ConfigurationProperties ;
/ * *
@ -26,7 +26,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
* @since 1.2 .2
* /
@ConfigurationProperties ( prefix = "spring.mustache" )
public class MustacheProperties extends Abstract ViewResolverProperties {
public class MustacheProperties extends Abstract Template ViewResolverProperties {
public static final String DEFAULT_PREFIX = "classpath:/templates/" ;
@ -42,18 +42,26 @@ public class MustacheProperties extends AbstractViewResolverProperties {
* /
private String suffix = DEFAULT_SUFFIX ;
public MustacheProperties ( ) {
super ( DEFAULT_PREFIX , DEFAULT_SUFFIX ) ;
}
@Override
public String getPrefix ( ) {
return this . prefix ;
}
@Override
public void setPrefix ( String prefix ) {
this . prefix = prefix ;
}
@Override
public String getSuffix ( ) {
return this . suffix ;
}
@Override
public void setSuffix ( String suffix ) {
this . suffix = suffix ;
}