Skip to content

Commit 2a6e35c

Browse files
committed
Fix missing reference to variable after patching IQSS#11619
1 parent 2de334e commit 2a6e35c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/main/java/edu/harvard/iq/dataverse/api/imports/ImportDDIServiceBean.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ public Map<String, String> mapDDI(ImportType importType, String xmlToParse, Data
134134

135135
Map<String, String> filesMap = new HashMap<>();
136136
StringReader reader = new StringReader(xmlToParse);
137+
XMLStreamReader xmlr = null;
137138
XMLInputFactory xmlFactory = XmlUtil.getSecureXMLInputFactory();
138139
xmlFactory.setProperty("javax.xml.stream.isCoalescing", true); // allows the parsing of a CDATA segment into a single event
139140
xmlr = xmlFactory.createXMLStreamReader(reader);

0 commit comments

Comments
 (0)