File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
plugins/codemodder-plugin-maven/src/main/java/io/codemodder/plugins/maven/operator Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 22
33import static io .github .pixee .security .XMLInputFactorySecurity .hardenFactory ;
44
5- import com .ctc .wstx .stax .WstxInputFactory ;
6- import com .ctc .wstx .stax .WstxOutputFactory ;
75import java .io .ByteArrayInputStream ;
86import java .io .IOException ;
97import java .io .InputStream ;
@@ -40,10 +38,10 @@ class FormatCommand extends AbstractCommand {
4038 private static final Logger LOGGER = LoggerFactory .getLogger (FormatCommand .class );
4139
4240 /** StAX InputFactory */
43- private XMLInputFactory inputFactory = WstxInputFactory .newInstance ();
41+ private XMLInputFactory inputFactory = XMLInputFactory . newInstance () .newInstance ();
4442
4543 /** StAX OutputFactory */
46- private XMLOutputFactory outputFactory = WstxOutputFactory .newInstance ();
44+ private XMLOutputFactory outputFactory = XMLOutputFactory .newInstance ();
4745
4846 private List <MatchData > singleElementsWithAttributes = new ArrayList <>();
4947
You can’t perform that action at this time.
0 commit comments