HHH-13960 One more checkstyle fix

This commit is contained in:
Panagiotis Sotiropoulos 2020-04-20 15:18:02 +02:00 committed by Sanne Grinovero
parent 78bcb66cd5
commit 0e43942b77
1 changed files with 3 additions and 3 deletions

View File

@ -26,9 +26,9 @@ public class TestDataReader {
List<TestDataElement> testDataElements = new ArrayList<TestDataElement>();
SAXReader reader = new SAXReader();
try {
reader.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false );
reader.setFeature("http://xml.org/sax/features/external-general-entities", false );
reader.setFeature("http://xml.org/sax/features/external-parameter-entities", false );
reader.setFeature( "http://apache.org/xml/features/nonvalidating/load-external-dtd", false );
reader.setFeature( "http://xml.org/sax/features/external-general-entities", false );
reader.setFeature( "http://xml.org/sax/features/external-parameter-entities", false );
Document document = reader.read( getInputStream( fileName ) );
addDataElements( document, testDataElements );
}