Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spring boot 3.3.2 #430

Merged
merged 9 commits into from
Sep 23, 2024
Merged

spring boot 3.3.2 #430

merged 9 commits into from
Sep 23, 2024

Conversation

kozjan
Copy link
Collaborator

@kozjan kozjan commented Sep 9, 2024

No description provided.

@kozjan kozjan force-pushed the spring-boot-3.3.2 branch 6 times, most recently from cca57be to fc048a2 Compare September 14, 2024 09:40
@kozjan kozjan changed the title spring boot 3.3.2 WIP spring boot 3.3.2 Sep 14, 2024
@kozjan kozjan marked this pull request as ready for review September 17, 2024 07:11
(0 until innerSources).forEach {
meterRegistry.gauge("${bufferMetric(name)}_$it", scannable, innerBufferExtractor(it))
for (i in 0 until innerSources) {
meterRegistry.gauge("${bufferMetric(name)}_$i", scannable, innerBufferExtractor(i))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why you changed it

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

detekt was failing with information that there is an overhead with forEach and for should be used instead

throw IllegalArgumentException(
"Only one of: exactMatch, regexMatch can be defined."
)
require(headerMatcher.exactMatch.isEmpty() || headerMatcher.regexMatch.isEmpty()) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why you changed this checks to require?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

detekt failed with information that using require is more idiomatic to kotlin

@kozjan kozjan merged commit 71f6788 into master Sep 23, 2024
7 of 8 checks passed
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.

2 participants