Tim te Beek
Tim te Beek
## What is the smallest, simplest way to reproduce the problem? As seen on https://github.com/openrewrite/rewrite-analysis/pull/28 ```diff -return Parameter.viewOf(cursor).map(parameter -> (DataFlowNode) new ParameterDataFlowNode(cursor, parameter)).toOption(); +return Parameter.viewOf(cursor).map(DataFlowNode.class::cast).toOption(); ``` While there is indeed...
## What problem are you trying to solve? Allow folks to migrate to Spring Boot 3.3, in time with the release on May 23rd. ## Any additional context - https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.3.0-RC1-Release-Notes...
[Kotlin's Deprecated annotation](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-deprecated/) comes with a [`replaceWith` attribute](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-deprecated/replace-with.html). > If present, specifies a code fragment which should be used as a replacement for the deprecated API usage. This can speed...
### Problem > Describe the issue you are experiencing. ### Expected behavior > Describe what you expected to see. ### Example diff **From:** `spring-beans/src/test/java/org/springframework/beans/factory/aot/BeanDefinitionMethodGeneratorTests.java` ```diff Collections.emptyList()); MethodReference method = generator.generateBeanDefinitionMethod(...
Spotted while running `Remediate vulnerabilities from the OWASP Top Ten` https://app.moderne.io/results/UcdFWND6j ``` java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Unable to construct Java17Parser. java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122) java.base/java.util.concurrent.FutureTask.get(FutureTask.java:205) Caused by java.lang.IllegalStateException: Unable to construct Java17Parser. org.openrewrite.java.Java17Parser$Builder.build(Java17Parser.java:96) org.openrewrite.java.Java17Parser$Builder.build(Java17Parser.java:63) org.openrewrite.java.security.spring.GenerateWebSecurityConfigurerAdapter.generate(GenerateWebSecurityConfigurerAdapter.java:75)...
After - https://github.com/openrewrite/rewrite/pull/4291 We continued to see issues in - https://github.com/openrewrite/rewrite-jackson/pull/6 I've updated the test to better replicate the issue there. With this change the test fails with left imports....
## What's changed? Prevent an NPE by adding a null check, and changing the API response to be nullable to handle it downstream. ## What's your motivation? A community member...
As [suggested on Slack](https://rewriteoss.slack.com/archives/C01A843MWG5/p1719133579095089?thread_ts=1713533066.442339&cid=C01A843MWG5). > My degree is not in education nor writing, i can only speak from my personal learning curve experience in the last three weeks. The docs...
## What problem are you trying to solve? Folks might not be aware that we are able to confidently solve vulnerabilities using OpenRewrite recipes, and also bump transitive dependencies. ##...
## What problem are you trying to solve? While we have a lot of docs, most of those are on specific elements of writing recipes, whereas the bigger picture is...