Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
qqmyers committed Nov 4, 2024
1 parent 0958193 commit ab223f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/edu/harvard/iq/dataverse/FileMetadata.java
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ public List<DataFileCategory> getCategories() {
List<DataFileCategory> newDFCs = new ArrayList<DataFileCategory>();
/* 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++) {
Expand Down

0 comments on commit ab223f0

Please sign in to comment.