Skip to content

Commit

Permalink
use link::getURL instead of deprecated this::getURL
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanseifert committed Jan 25, 2024
1 parent 4698c37 commit a28b12d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ protected String getItemIdPrefix() {
protected @NotNull PageData getComponentData() {
return DataLayerBuilder.extending(super.getComponentData()).asPage()
.withTitle(this::getTitle)
.withLinkUrl(this::getURL)
.withLinkUrl(link::getURL)
.build();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ public String getTitleType() {
protected @NotNull ComponentData getComponentData() {
return DataLayerBuilder.extending(super.getComponentData()).asComponent()
.withTitle(this::getTitle)
.withLinkUrl(this::getLinkURL)
.withLinkUrl(link::getURL)
.withDescription(this::getDescription)
.build();
}
Expand Down

0 comments on commit a28b12d

Please sign in to comment.