Tim te Beek
Tim te Beek
This [came up in Slack](https://rewriteoss.slack.com/archives/C01A843MWG5/p1675780454761369); when upgrading to newer versions of Java a common step is to also replace the Docker base images in the [`FROM` line in `Dockerfile`s](https://docs.docker.com/engine/reference/builder/#from). Pending...
Came across this trade-off and migration analysis for Google auto value versus Java records: https://github.com/google/auto/blob/main/value/userguide/records.md#translating-an-autovalue-class-into-a-record Interesting analysis, and already reads like a migration recipe with the before and after samples,...
The replacement done on these lines is incorrect when it concerns empty collections, is what I'm told on Discord: https://github.com/openrewrite/rewrite-spring/blob/71fbf7c27536877c47b28e85a13f0f4629d6b5de/src/main/resources/META-INF/rewrite/spring-framework-53.yml#L47-L54 > earlier a List list was passed, which was coming...
[KafkaTestUtils](https://docs.spring.io/spring-kafka/reference/html/#ktu) from spring-kafka provides a number of static helper methods to consume records, retrieve various record offsets, and others. Recently a number of methods [switched from taking a `long timeout`...
Spring Framework 5.3 added support for soft assertions to MockMvc, [as detailed on slides 36 & 37 here](https://www.slideshare.net/sbrannen/testing-with-junit-5-and-spring-spring-io-2022). These allow you to check multiple conditions and report on all of...
https://docs.spring.io/spring-security/reference/5.7.0/servlet/authorization/method-security.html#_enablemethodsecurity > In Spring Security 5.6, we can enable annotation-based security using the @EnableMethodSecurity annotation on any @Configuration instance. > > This improves upon @EnableGlobalMethodSecurity in a number of ways....
# Deprecations in Spring Boot 3.2.0 Spring Boot 3.2 comes with deprecations, that while not required to upgrade, would still be good to cover with recipes for gradual adoption ahead...
Noticed the [brownout of repo.spring.io yesterday](https://twitter.com/springops/status/1613566654356803587), and thought that might be a good case for a migration recipe. [Background to the permission changes](https://spring.io/blog/2022/12/14/notice-of-permissions-changes-to-repo-spring-io-january-2023). > repo.spring.io is intended for the download...
## What problem are you trying to solve? Loglevel guards ( such as `if (LOG.isDebugEnabled())`) are a performance improvement to prevent building up logging statement arguments when the log line...
SLF4J 2.0.0 has been released: https://www.slf4j.org/faq.html#changesInVersion200 That means we can now adopt the fluent logging api: https://www.slf4j.org/manual.html#fluent I expect this to be most useful around guard blocks such as the...