diff --git a/src/main/java/org/openrewrite/java/testing/mockito/PowerMockitoMockStaticToMockito.java b/src/main/java/org/openrewrite/java/testing/mockito/PowerMockitoMockStaticToMockito.java index ad63dcff3..589fbcc22 100644 --- a/src/main/java/org/openrewrite/java/testing/mockito/PowerMockitoMockStaticToMockito.java +++ b/src/main/java/org/openrewrite/java/testing/mockito/PowerMockitoMockStaticToMockito.java @@ -119,7 +119,7 @@ public J visitClassDeclaration(J.ClassDeclaration classDecl, ExecutionContext ct // Remove the extension of class PowerMockConfiguration cd = removeExtension(cd, POWER_MOCK_CONFIG); - // Remove teh extension of class PowerMockTestCase + // Remove the extension of class PowerMockTestCase cd = removeExtension(cd, POWER_MOCK_TEST_CASE); if (!mockedStaticClasses.isEmpty()) { @@ -129,7 +129,7 @@ public J visitClassDeclaration(J.ClassDeclaration classDecl, ExecutionContext ct cd = maybeAddTearDownMethodBody(cd, ctx); cd = addFieldDeclarationForMockedTypes(cd, ctx, mockedStaticClasses); - // Invoke the vistitors of the child tree a 2nd time to fill the new methods + // Invoke the visitors of the child tree a 2nd time to fill the new methods return super.visitClassDeclaration(cd, ctx); } return cd; diff --git a/src/test/java/org/openrewrite/java/testing/assertj/UseExplicitContainsTest.java b/src/test/java/org/openrewrite/java/testing/assertj/UseExplicitContainsTest.java index 350e9c416..9bf6b25df 100644 --- a/src/test/java/org/openrewrite/java/testing/assertj/UseExplicitContainsTest.java +++ b/src/test/java/org/openrewrite/java/testing/assertj/UseExplicitContainsTest.java @@ -125,7 +125,7 @@ public void test() { } @Test - void IsFalseOrIsTrueWithoutContainsAreNotAffectected() { + void IsFalseOrIsTrueWithoutContainsAreNotAffected() { //language=java rewriteRun( java( diff --git a/src/test/java/org/openrewrite/java/testing/assertj/UseExplicitSizeTest.java b/src/test/java/org/openrewrite/java/testing/assertj/UseExplicitSizeTest.java index 0a11e1536..480febfb2 100644 --- a/src/test/java/org/openrewrite/java/testing/assertj/UseExplicitSizeTest.java +++ b/src/test/java/org/openrewrite/java/testing/assertj/UseExplicitSizeTest.java @@ -83,7 +83,7 @@ public void test() { @Test - void sizeWithoutContainsIsNotAffectected() { + void sizeWithoutContainsIsNotAffected() { //language=java rewriteRun( java(