Skip to content

Commit

Permalink
Clarify display name + desc for builder recipe (#285)
Browse files Browse the repository at this point in the history
Fixes: #263

Co-authored-by: timo-abele <mike-solomon@users.noreply.github.com>
  • Loading branch information
mike-solomon and mike-solomon authored Apr 26, 2024
1 parent 981693e commit 456f278
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ public class UseAsBuilder extends Recipe {

@Override
public String getDisplayName() {
return "Use the builder pattern where possible";
return "Chain calls to builder methods";
}

@Override
public String getDescription() {
return "When an API has been designed as a builder, use it that way rather than as a series of setter calls.";
return "Chain calls to builder methods that are on separate lines into one chain of builder calls.";
}

@Override
Expand Down

0 comments on commit 456f278

Please sign in to comment.