Skip to content

Commit 294267d

Browse files
ttddyysnicoll
authored andcommitted
Fix typo on ConditionMessage
See gh-19354
1 parent 26e320f commit 294267d

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)