RepeatParagraphProcessor.java

1
package pro.verron.officestamper.preset.processors.repeat;
2
3
import org.jspecify.annotations.Nullable;
4
import pro.verron.officestamper.api.ProcessorContext;
5
import pro.verron.officestamper.preset.CommentProcessorFactory;
6
7
/// Class used internally to repeat document elements. Used by the lib, should not be instantiated by clients.
8
///
9
/// @author Joseph Verron
10
/// @author Youssouf Naciri
11
/// @since 1.2.2
12
public class RepeatParagraphProcessor
13
        extends RepeatProcessor
14
        implements CommentProcessorFactory.IParagraphRepeatProcessor {
15
16
    /// Constructs a new [RepeatParagraphProcessor] with the given processor context.
17
    ///
18
    /// @param processorContext the context in which this processor operates
19
    public RepeatParagraphProcessor(ProcessorContext processorContext) {
20
        super(processorContext);
21
    }
22
23
    @Override
24
    public void repeatParagraph(@Nullable Iterable<Object> items) {
25 1 1. repeatParagraph : removed call to pro/verron/officestamper/preset/processors/repeat/RepeatParagraphProcessor::repeat → KILLED
        repeat(items);
26
    }
27
}

Mutations

25

1.1
Location : repeatParagraph
Killed by : pro.verron.officestamper.test.ProcessorRepeatParagraphTest.[engine:junit-jupiter]/[class:pro.verron.officestamper.test.ProcessorRepeatParagraphTest]/[method:shouldAcceptList()]
removed call to pro/verron/officestamper/preset/processors/repeat/RepeatParagraphProcessor::repeat → KILLED

Active mutators

Tests examined


Report generated by PIT 1.25.5 support