Browse Source

Merge branch '5.1.x'

pull/22315/head
Arjen Poutsma 6 years ago
parent
commit
6004be9d31
  1. 2
      spring-core/src/main/java/org/springframework/util/xml/StaxUtils.java

2
spring-core/src/main/java/org/springframework/util/xml/StaxUtils.java

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

Loading…
Cancel
Save