Skip to content

Commit

Permalink
replace setFooter(String) with default method
Browse files Browse the repository at this point in the history
  • Loading branch information
Snabeldier committed Jan 6, 2025
1 parent e5bc9e1 commit 7b15a83
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,7 @@ public interface EmbeddedMessage {

EmbeddedMessage setFooter(String footer, String iconUrl);

EmbeddedMessage setFooter(String footer);
default EmbeddedMessage setFooter(String footer) {
return setFooter(footer, null);
}
}

0 comments on commit 7b15a83

Please sign in to comment.