Skip to content

Commit

Permalink
Defer Scannable#name() fallback logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan202 committed Oct 3, 2024
1 parent 9c4f5f2 commit e64527a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reactor-core/src/main/java/reactor/core/Scannable.java
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ default String name() {
.map(s -> s.scan(Attr.NAME))
.filter(Objects::nonNull)
.findFirst()
.orElse(stepName());
.orElseGet(this::stepName);
}

/**
Expand Down

0 comments on commit e64527a

Please sign in to comment.