From ce6c84ccf56ec79fe215709539c80ed51b42b907 Mon Sep 17 00:00:00 2001 From: Chen Ni Date: Mon, 6 Jun 2022 03:16:29 +0800 Subject: [PATCH] Fix typos (#2669) --- .../bytebuddy/InlineDelegateByteBuddyMockMaker.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/mockito/internal/creation/bytebuddy/InlineDelegateByteBuddyMockMaker.java b/src/main/java/org/mockito/internal/creation/bytebuddy/InlineDelegateByteBuddyMockMaker.java index 9da65605a5..bf6cf4b735 100644 --- a/src/main/java/org/mockito/internal/creation/bytebuddy/InlineDelegateByteBuddyMockMaker.java +++ b/src/main/java/org/mockito/internal/creation/bytebuddy/InlineDelegateByteBuddyMockMaker.java @@ -44,9 +44,9 @@ /** * Agent and subclass based mock maker. *

- * This mock maker which uses a combination of the Java instrumentation API and sub-classing rather than creating + * This mock maker uses a combination of the Java instrumentation API and sub-classing rather than creating * a new sub-class to create a mock. This way, it becomes possible to mock final types and methods. This mock - * maker must to be activated explicitly for supporting mocking final types and methods: + * maker must be activated explicitly for supporting mocking final types and methods: *

*

* This mock maker can be activated by creating the file /mockito-extensions/org.mockito.plugins.MockMaker @@ -62,7 +62,7 @@ * assert mock(Foo.class).getClass() == Foo.class; * *

- * unless any of the following conditions is met, in such case the mock maker fall backs to the + * unless any of the following conditions is met, in such case the mock maker falls back to * the creation of a subclass. *

*

*

*