Chenyu Wang

Results 7 issues of Chenyu Wang

My project uses the OGC library. I'd like to upgrade to Jakarta EE 9.1, but OGC lacks support for Jakarta EE 9. Is there a plan to add support for...

``` [ERROR] Failed to execute goal org.openrewrite.maven:rewrite-maven-plugin:6.24.0:run (default-cli) on project module2: Execution default-cli of goal org.openrewrite.maven:rewrite-maven-plugin:6.24.0:run failed: Error while visiting iba\module2\src\test\java\com\my2\server\host\webapp\handlers\AbstractHandlerTest.java: java.lang.IllegalArgumentException: Expected a template that would generate exactly one...

bug

## Compilation error `assertThat(null== a).isEqualTo(true)` => `assertThat(null).isSameAs(a);` ## Better `assertThat(null== a).isEqualTo(true)` => `assertThat(a).isNull()`

bug
assertj

After I executed org.openrewrite.java.testing.hamcrest.MigrateHamcrestToAssertJ, many hamcrest sentences still remained. ```java import org.hamcrest.Matchers.*; import org.hamcrest.Matchers; import org.hamcrest.Matcher; not(hasKey("a")) is("a") not(hasEntry("jpg","image/jpg)) not(isEmptyOrNullString()) instanceOf(A.class) not(contains("aa")) MockitoHamcrest.argThat(hasKey("asd")) hasSize(greaterThanOrEqualTo(1)) Description BaseMatcher ```

bug
good first issue
assertj
hamcrest

int a= 120 assertEquals(120,a,1E-6) => assertThat(a).isCloseTo(120,within(1E-6)) assertEquals(120,a,1E-6) => assertThat(a).isEqualTo(120)

bug

## What problem are you trying to solve? MemberModifier method cannot be recognized and implemented in mockito. ## Describe the solution you'd like https://docs.openrewrite.org/recipes/java/testing/mockito/replacepowermockito MemberModifier.field(WebLicenseManager.class, "coreLics").set(webLicenseManager, coreLics); ## Have you...

enhancement
recipe
mockito

## What's changed? ## What's your motivation? ## Anything in particular you'd like reviewers to focus on? ## Anyone you would like to review specifically? ## Have you considered any...