Nick McKinney
Nick McKinney
See this test case: ```java @Test void bad() { rewriteRun( json(""" { "foo": "bar bar" } """) ); } ``` It fails, and the output looks something like this: >...
Test case: ```java @Test void foo() { rewriteRun( spec -> spec.recipe(Recipe.noop()), java( """ public class A { public static void foo(Object obj) { switch (obj) { case String s ->...
See: https://github.com/openrewrite/rewrite/blob/09ba3895ee40d1f25c16b57f0cebfcf797bfb441/rewrite-core/src/main/java/org/openrewrite/marker/Marker.java#L28-L36 And, try to write a class implementing this interface *without* using Lombok for the `withId` implementation. It might look like this: ```java class MyMarker implements Marker { @Override...
## What problem are you trying to solve? Consider a small pom like this: ```xml 4.0.0 org.sample sample 1.0.0 ``` Observe the indentation (four spaces) of line 3. If you...
## What problem are you trying to solve? Add an option for the functionality removed in this commit: https://github.com/openrewrite/rewrite/commit/687fbb55709b7d6ee0a648c425d8b0b94fce65d5 (from @sambsnyd ) ## What precondition(s) should be checked before applying...
…ption and deprecating `onlyIfVersionsMatch` ## What's changed? see title ## What's your motivation? Closes #4138 ## Anything in particular you'd like reviewers to focus on? - Open to alternative designs...
I noticed that some Achewood pages use transparency instead of white for parts of the image. On the webpage, the background is white, so it doesn't make a difference --...
## What problem are you trying to solve? The `pom.xml` generated alongside this plugin (and its plugin marker artifact) do not include the `license` field. ## Describe the solution you'd...
[JMockit](https://jmockit.github.io/) remains popular, but has not had a release since 2019, and has [various compatibility issues](https://github.com/jmockit/jmockit1/pull/736) with Java 11+. As Java 8 loses LTS status, developers would likely benefit from...
Test case: ```java @Test void fullyQualifedClass() { rewriteRun( java( """ package a; public interface FastTests {} """ ), java( """ package b; import org.junit.experimental.categories.Category; @Category(a.FastTests.class) public class B { }...