1 | package pro.verron.officestamper.preset.preprocessors.prooferror; | |
2 | ||
3 | import org.docx4j.utils.TraversalUtilVisitor; | |
4 | import org.docx4j.wml.ProofErr; | |
5 | ||
6 | import java.util.ArrayList; | |
7 | import java.util.List; | |
8 | ||
9 | public class ProofErrVisitor | |
10 | extends TraversalUtilVisitor<ProofErr> { | |
11 | private final List<ProofErr> proofErrs = new ArrayList<>(); | |
12 | ||
13 | @Override | |
14 | public void apply(ProofErr element, Object parent1, List<Object> siblings) { | |
15 | proofErrs.add(element); | |
16 | } | |
17 | ||
18 | public List<ProofErr> getProofErrs() { | |
19 |
1
1. getProofErrs : replaced return value with Collections.emptyList for pro/verron/officestamper/preset/preprocessors/prooferror/ProofErrVisitor::getProofErrs → KILLED |
return proofErrs; |
20 | } | |
21 | } | |
Mutations | ||
19 |
1.1 |