From 7c9f062f518070c8cf0391a719205a3dc6df146d Mon Sep 17 00:00:00 2001 From: qqmyers Date: Fri, 4 Aug 2023 15:23:13 -0400 Subject: [PATCH] wrong loop var being incremented --- .../java/edu/harvard/iq/dataverse/export/ddi/DdiExportUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/edu/harvard/iq/dataverse/export/ddi/DdiExportUtil.java b/src/main/java/edu/harvard/iq/dataverse/export/ddi/DdiExportUtil.java index 8f2aa5d023a..846267e0a2c 100644 --- a/src/main/java/edu/harvard/iq/dataverse/export/ddi/DdiExportUtil.java +++ b/src/main/java/edu/harvard/iq/dataverse/export/ddi/DdiExportUtil.java @@ -2086,7 +2086,7 @@ private static void createFileDscr(XMLStreamWriter xmlw, JsonArray fileDetails) if (fileJson.containsKey("tabularTags")) { JsonArray tags = fileJson.getJsonArray("tabularTags"); - for (int j = 0; j < tags.size(); i++) { + for (int j = 0; j < tags.size(); j++) { xmlw.writeStartElement("notes"); writeAttribute(xmlw, "level", LEVEL_FILE); writeAttribute(xmlw, "type", NOTE_TYPE_TAG);