Skip to content

Commit

Permalink
renamed method
Browse files Browse the repository at this point in the history
  • Loading branch information
paullatzelsperger committed Jun 25, 2024
1 parent f3d774b commit b0c53dc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public Dataset getById(ParticipantAgent agent, String id) {
.orElse(null);
}

private Dataset.Builder createCatalog(Asset asset) {
private Dataset.Builder buildDataset(Asset asset) {
if (!asset.isCatalog()) {
return Dataset.Builder.newInstance();
}
Expand All @@ -95,7 +95,7 @@ private Dataset.Builder createCatalog(Asset asset) {
private Dataset toDataset(List<ContractDefinition> contractDefinitions, Asset asset) {

var distributions = distributionResolver.getDistributions(asset);
var datasetBuilder = createCatalog(asset)
var datasetBuilder = buildDataset(asset)
.id(asset.getId())
.distributions(distributions)
.properties(asset.getProperties());
Expand Down

0 comments on commit b0c53dc

Please sign in to comment.