-
Notifications
You must be signed in to change notification settings - Fork 33
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
spring boot 3.3.2 #430
Conversation
cca57be
to
fc048a2
Compare
b2e395b
to
c85367c
Compare
fc25097
to
50a28ba
Compare
ce9aff7
to
6ce78d6
Compare
(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)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why you changed it
There was a problem hiding this comment.
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()) { |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
No description provided.