| 1 | package fr.sii.ogham.template.freemarker.adapter; | |
| 2 | ||
| 3 | import fr.sii.ogham.template.freemarker.TemplateLoaderOptions; | |
| 4 | import freemarker.cache.TemplateLoader; | |
| 5 | ||
| 6 | /** | |
| 7 | * Abstract class to handle options configuration for the adapted | |
| 8 | * {@link TemplateLoader}. | |
| 9 | * | |
| 10 | * @author Cyril Dejonghe | |
| 11 | * | |
| 12 | */ | |
| 13 | public abstract class AbstractFreeMarkerTemplateLoaderOptionsAdapter implements TemplateLoaderAdapter { | |
| 14 | private TemplateLoaderOptions options; | |
| 15 | ||
| 16 | public TemplateLoaderOptions getOptions() { | |
| 17 |
1
1. getOptions : replaced return value with null for fr/sii/ogham/template/freemarker/adapter/AbstractFreeMarkerTemplateLoaderOptionsAdapter::getOptions → NO_COVERAGE |
return options; |
| 18 | } | |
| 19 | ||
| 20 | @Override | |
| 21 | public void setOptions(TemplateLoaderOptions options) { | |
| 22 | this.options = options; | |
| 23 | } | |
| 24 | } | |
Mutations | ||
| 17 |
1.1 |