diff --git a/src/main/java/edu/harvard/iq/dataverse/FileMetadata.java b/src/main/java/edu/harvard/iq/dataverse/FileMetadata.java index 8a49c32758f..4062e459a22 100644 --- a/src/main/java/edu/harvard/iq/dataverse/FileMetadata.java +++ b/src/main/java/edu/harvard/iq/dataverse/FileMetadata.java @@ -220,7 +220,7 @@ public List getCategories() { List newDFCs = new ArrayList(); /* DANS has reported intermittent errors in this call related to using * an IndirectList.iterator when using a for(DataFileCategory fdc:fileDataCategories) loop - * (which results in an NPE in org.exlipse.persistence.descriptors.DescriptorEvent.getDescriptor()) + * (which results in an NPE in org.eclipse.persistence.descriptors.DescriptorEvent.getDescriptor()) * So we switch to using size() and get(): */ for (int i=0;i< fileCategories.size(); i++) {