Skip to content

Commit

Permalink
retrieval first
Browse files Browse the repository at this point in the history
  • Loading branch information
ffritze committed Aug 7, 2024
1 parent f093280 commit 04ff4cf
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,8 @@ public static JsonObjectBuilder json(MetadataBlock metadataBlock, boolean printO
jsonObjectBuilder.add("displayOnCreate", metadataBlock.isDisplayOnCreate());

JsonObjectBuilder fieldsBuilder = Json.createObjectBuilder();
Set<DatasetFieldType> datasetFieldTypes = new TreeSet<>(metadataBlock.getDatasetFieldTypes());
List<DatasetFieldType>fieldTypes = metadataBlock.getDatasetFieldTypes();
Set<DatasetFieldType> datasetFieldTypes = new TreeSet<>(fieldTypes);

for (DatasetFieldType datasetFieldType : datasetFieldTypes) {
Long datasetFieldTypeId = datasetFieldType.getId();
Expand Down

0 comments on commit 04ff4cf

Please sign in to comment.