1 | package fr.sii.ogham.template.common.adapter; | |
2 | ||
3 | import fr.sii.ogham.core.message.content.TemplateContent; | |
4 | import fr.sii.ogham.core.resource.path.ResolvedPath; | |
5 | import fr.sii.ogham.template.exception.VariantResolutionException; | |
6 | ||
7 | public class NullVariantResolver implements VariantResolver { | |
8 | ||
9 | @Override | |
10 | public ResolvedPath getRealPath(TemplateContent template) throws VariantResolutionException { | |
11 | return null; | |
12 | } | |
13 | ||
14 | @Override | |
15 | public boolean variantExists(TemplateContent template) { | |
16 |
1
1. variantExists : replaced boolean return with true for fr/sii/ogham/template/common/adapter/NullVariantResolver::variantExists → NO_COVERAGE |
return false; |
17 | } | |
18 | ||
19 | } | |
Mutations | ||
16 |
1.1 |