Merge branch '5.1.x'
This commit is contained in:
@@ -63,7 +63,7 @@ public abstract class StaxUtils {
|
||||
* @since 5.0
|
||||
*/
|
||||
public static XMLInputFactory createDefensiveInputFactory() {
|
||||
return createDefensiveInputFactory(XMLInputFactory::newFactory);
|
||||
return createDefensiveInputFactory(XMLInputFactory::newInstance);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user