| 1 | package fr.sii.ogham.spring.template; | |
| 2 | ||
| 3 | import org.springframework.boot.context.properties.ConfigurationProperties; | |
| 4 | ||
| 5 | @ConfigurationProperties("ogham.thymeleaf") | |
| 6 | public class OghamThymeleafProperties { | |
| 7 | ||
| 8 | /** | |
| 9 | * Access Spring beans from templates using | |
| 10 | * {@code @beanName.methodName(args)} | |
| 11 | */ | |
| 12 | private boolean enableSpringBeans = true; | |
| 13 | ||
| 14 | public boolean isEnableSpringBeans() { | |
| 15 |
3
1. isEnableSpringBeans : replaced boolean return with true for fr/sii/ogham/spring/template/OghamThymeleafProperties::isEnableSpringBeans → SURVIVED 2. isEnableSpringBeans : replaced boolean return with false for fr/sii/ogham/spring/template/OghamThymeleafProperties::isEnableSpringBeans → KILLED 3. isEnableSpringBeans : replaced boolean return with false for fr/sii/ogham/spring/template/OghamThymeleafProperties::isEnableSpringBeans → KILLED |
return enableSpringBeans; |
| 16 | } | |
| 17 | ||
| 18 | public void setEnableSpringBeans(boolean enableSpringBeans) { | |
| 19 | this.enableSpringBeans = enableSpringBeans; | |
| 20 | } | |
| 21 | ||
| 22 | } | |
Mutations | ||
| 15 |
1.1 2.2 3.3 |