1 | package fr.sii.ogham.sms.builder.cloudhopper; | |
2 | ||
3 | import fr.sii.ogham.core.builder.configuration.ConfigurationValueBuilderHelper; | |
4 | import fr.sii.ogham.core.builder.context.BuildContext; | |
5 | import fr.sii.ogham.sms.sender.impl.cloudhopper.encoder.NamedCharset; | |
6 | ||
7 | /** | |
8 | * Helper class that extends {@link ConfigurationValueBuilderHelper} to track | |
9 | * the associated charset name. | |
10 | * | |
11 | * @author Aurélien Baudet | |
12 | * | |
13 | */ | |
14 | public class StandardEncodingHelper extends ConfigurationValueBuilderHelper<EncoderBuilder, Integer> { | |
15 | private final String charsetName; | |
16 | ||
17 | public StandardEncodingHelper(EncoderBuilder parent, String charsetName, BuildContext buildContext) { | |
18 | super(parent, Integer.class, buildContext); | |
19 | this.charsetName = charsetName; | |
20 | } | |
21 | ||
22 | public NamedCharset getCharset() { | |
23 |
2
1. getCharset : replaced return value with null for fr/sii/ogham/sms/builder/cloudhopper/StandardEncodingHelper::getCharset → SURVIVED 2. getCharset : replaced return value with null for fr/sii/ogham/sms/builder/cloudhopper/StandardEncodingHelper::getCharset → KILLED |
return NamedCharset.from(charsetName); |
24 | } | |
25 | } | |
Mutations | ||
23 |
1.1 2.2 |