Skip to content

Commit

Permalink
Changed: json object builder instantiation
Browse files Browse the repository at this point in the history
  • Loading branch information
GPortas committed Jun 19, 2024
1 parent daade04 commit 9073328
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ public static JsonObjectBuilder json(MetadataBlock metadataBlock) {
}

public static JsonObjectBuilder json(MetadataBlock metadataBlock, boolean printOnlyDisplayedOnCreateDatasetFieldTypes, Dataverse ownerDataverse) {
JsonObjectBuilder jsonObjectBuilder = Json.createObjectBuilder();
JsonObjectBuilder jsonObjectBuilder = jsonObjectBuilder();
jsonObjectBuilder.add("id", metadataBlock.getId());
jsonObjectBuilder.add("name", metadataBlock.getName());
jsonObjectBuilder.add("displayName", metadataBlock.getDisplayName());
Expand Down

0 comments on commit 9073328

Please sign in to comment.