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. *
*
native
methods. Inline mocks require byte code manipulation of a
* method where native methods do not offer any byte code to manipulate.synchronized
modifiers from mocked instances.synchronized
modifiers from mocked instances.*