1 | package fr.sii.ogham.core.translator.content; | |
2 | ||
3 | import fr.sii.ogham.core.exception.handler.ContentTranslatorException; | |
4 | import fr.sii.ogham.core.message.content.Content; | |
5 | ||
6 | /** | |
7 | * Apply no transformation at all. Just provide the received content as the | |
8 | * result. This may be useful to avoid null values. | |
9 | * | |
10 | * @author Aurélien Baudet | |
11 | * | |
12 | */ | |
13 | public class DefaultContentTranslator implements ContentTranslator { | |
14 | ||
15 | @Override | |
16 | public Content translate(Content content) throws ContentTranslatorException { | |
17 |
1
1. translate : replaced return value with null for fr/sii/ogham/core/translator/content/DefaultContentTranslator::translate → NO_COVERAGE |
return content; |
18 | } | |
19 | ||
20 | } | |
Mutations | ||
17 |
1.1 |