| 1 | package fr.sii.ogham.spring.common; | |
| 2 | ||
| 3 | public class MessageSpecificThymeleafProperties extends OghamResolutionProperties { | |
| 4 | /** | |
| 5 | * Enable/disable cache for templates handled by Thymeleaf.<br /><br /> | |
| 6 | * | |
| 7 | * The priority order for email is (from highest priority to lowest):<br /><br /> | |
| 8 | * | |
| 9 | * - (1) `ogham.email.thymeleaf.cache`,<br /> | |
| 10 | * - (2) `ogham.email.template.cache`,<br /> | |
| 11 | * - (3) `ogham.template.cache`<br /><br /> | |
| 12 | * | |
| 13 | * The priority order for sms is (from highest priority to lowest):<br /><br /> | |
| 14 | * | |
| 15 | * - (1) `ogham.sms.thymeleaf.cache`,<br /> | |
| 16 | * - (2) `ogham.sms.template.cache`,<br /> | |
| 17 | * - (3) `ogham.template.cache`<br /> | |
| 18 | */ | |
| 19 | private Boolean cache; | |
| 20 | ||
| 21 | public Boolean getCache() { | |
| 22 |
2
1. getCache : replaced Boolean return with False for fr/sii/ogham/spring/common/MessageSpecificThymeleafProperties::getCache → SURVIVED 2. getCache : replaced Boolean return with True for fr/sii/ogham/spring/common/MessageSpecificThymeleafProperties::getCache → SURVIVED |
return cache; |
| 23 | } | |
| 24 | ||
| 25 | public void setCache(Boolean enable) { | |
| 26 | this.cache = enable; | |
| 27 | } | |
| 28 | ||
| 29 | } | |
Mutations | ||
| 22 |
1.1 2.2 |