Merge branch '5.1.x'

This commit is contained in:
Arjen Poutsma
2019-01-24 15:55:46 +01:00

View File

@@ -63,7 +63,7 @@ public abstract class StaxUtils {
* @since 5.0
*/
public static XMLInputFactory createDefensiveInputFactory() {
return createDefensiveInputFactory(XMLInputFactory::newFactory);
return createDefensiveInputFactory(XMLInputFactory::newInstance);
}
/**