Skip to content

Commit

Permalink
Rename getFormId to getId
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewhorridge committed Jun 19, 2024
1 parent 497e26e commit 538378f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public static FormDescriptorDto get(@JsonProperty(PropertyNames.ID) @Nonnull For

@JsonProperty(PropertyNames.ID)
@Nonnull
public abstract FormId getFormId();
public abstract FormId getId();

@Nonnull
@JsonProperty(PropertyNames.LABEL)
Expand All @@ -47,7 +47,7 @@ public Optional<FormSubjectFactoryDescriptor> getFormSubjectFactoryDescriptor()

@Nonnull
public FormDescriptor toFormDescriptor() {
return new FormDescriptor(getFormId(),
return new FormDescriptor(getId(),
getLabel(),
getFields().stream()
.map(FormFieldDescriptorDto::toFormFieldDescriptor)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,6 @@ public FormData toFormData() {
@JsonIgnore
@Nonnull
public FormId getFormId() {
return getFormDescriptor().getFormId();
return getFormDescriptor().getId();
}
}

0 comments on commit 538378f

Please sign in to comment.