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