Skip to content

Commit

Permalink
warn as a recipe builder
Browse files Browse the repository at this point in the history
  • Loading branch information
WaitingIdly committed May 22, 2024
1 parent e516081 commit 8920d12
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ public String documentMethods() {
}

if (registrationMethods.isEmpty()) {
GroovyLog.get().warn("Couldn't find any registration methods for '{}'", reference);
GroovyLog.get().warn("Couldn't find any registration methods for recipe builder '{}'", reference);
} else {
for (Method registerMethod : registrationMethods) {
out.append("- ");
Expand Down Expand Up @@ -291,7 +291,7 @@ public StringBuilder documentFields() {
List<RecipeBuilderMethod> recipeBuilderMethods = methods.get(fieldDocumentation.getField().getName());

if (recipeBuilderMethods == null || recipeBuilderMethods.isEmpty()) {
GroovyLog.get().warn("Couldn't find any methods targeting field '{}' in build '{}'", fieldDocumentation.getField().getName(), reference);
GroovyLog.get().warn("Couldn't find any methods targeting field '{}' in recipe builder '{}'", fieldDocumentation.getField().getName(), reference);
} else {
out.append(new CodeBlockBuilder()
.line(recipeBuilderMethods.stream()
Expand Down

0 comments on commit 8920d12

Please sign in to comment.