Skip to content

Commit

Permalink
Revert "bugfix: HashSet instead of TreeSet"
Browse files Browse the repository at this point in the history
This reverts commit cc9d49a.
  • Loading branch information
ffritze committed Aug 5, 2024
1 parent a336e60 commit f093280
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ public static JsonObjectBuilder json(MetadataBlock metadataBlock, boolean printO
jsonObjectBuilder.add("displayOnCreate", metadataBlock.isDisplayOnCreate());

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

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

0 comments on commit f093280

Please sign in to comment.