Skip to content

Commit c3c01d9

Browse files
committed
Merge pull request #19354 from ttddyy
* pr/19354: Fix typo on ConditionMessage Closes gh-19354
2 parents 26e320f + 294267d commit c3c01d9

File tree

1 file changed

+1
-1
lines changed
  • spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionMessage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ public ConditionMessage notAvailable(String item) {
290290
}
291291

292292
/**
293-
* Indicates the reason. For example {@code reason("running Linux")} results in
293+
* Indicates the reason. For example {@code because("running Linux")} results in
294294
* the message "running Linux".
295295
* @param reason the reason for the message
296296
* @return a built {@link ConditionMessage}

0 commit comments

Comments
 (0)