Skip to content

Fix typo in staleness check-interval property - #1781

Open
Hashim1999164 wants to merge 1 commit into
spring-projects:mainfrom
Hashim1999164:fix-staleness-check-interval-typo
Open

Fix typo in staleness check-interval property#1781
Hashim1999164 wants to merge 1 commit into
spring-projects:mainfrom
Hashim1999164:fix-staleness-check-interval-typo

Conversation

@Hashim1999164

Copy link
Copy Markdown

Summary

Fixes the misspelled spring.modulith.events.staleness.check-intervall property so it matches the documented check-interval name (and the appendix docs).

The Java field and getter are renamed accordingly. The old check-intervall name is kept as a deprecated alias for compatibility.

Fixes #1757

Test plan

  • ./mvnw -pl spring-modulith-events/spring-modulith-events-core -am test -Dtest=EventPublicationAutoConfigurationIntegrationTests -Dsurefire.failIfNoSpecifiedTests=false
  • Confirm IDE metadata shows check-interval and marks check-intervall deprecated

Align the configuration property and Java field with the documented
name check-interval, and keep check-intervall as a deprecated alias.

Fixes spring-projects#1757

Signed-off-by: Hashim Khan <sardarhashim30@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] config: Typo on spring.modulith.events.staleness.check-interval property

1 participant