File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
engine/src/main/java/org/hibernate/validator/internal/xml Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ public class XmlParserHelper {
57
57
private static final int NUMBER_OF_SCHEMAS = 4 ;
58
58
private static final String DEFAULT_VERSION = "1.0" ;
59
59
60
- private static final XMLInputFactory xmlInputFactory = XMLInputFactory .newFactory ();
60
+ private static final XMLInputFactory xmlInputFactory = XMLInputFactory .newInstance ();
61
61
62
62
/**
63
63
* Read limit for the buffered input stream. Resetting the stream after
Original file line number Diff line number Diff line change 288
288
</execution >
289
289
</executions >
290
290
</plugin >
291
+ <!-- Run mvn animal-sniffer:check to check that only Java 1.6 APIs are used -->
292
+ <plugin >
293
+ <groupId >org.codehaus.mojo</groupId >
294
+ <artifactId >animal-sniffer-maven-plugin</artifactId >
295
+ <version >1.9</version >
296
+ <configuration >
297
+ <signature >
298
+ <groupId >org.codehaus.mojo.signature</groupId >
299
+ <artifactId >java16</artifactId >
300
+ <version >1.0</version >
301
+ </signature >
302
+ </configuration >
303
+ </plugin >
291
304
<plugin >
292
305
<groupId >org.apache.maven.plugins</groupId >
293
306
<artifactId >maven-surefire-plugin</artifactId >
You can’t perform that action at this time.
0 commit comments