Skip to content

Commit d501300

Browse files
authored
Remove @link to ProxyMockMaker from main Mockito javadoc (#2535)
We shouldn't be directly linking to specific extensions. For users that want to use Mockito with a specific extension, we only want to load the appropriate one and avoid loading any others. Follow-up to 80e1cc9
1 parent 3dca21f commit d501300

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/org/mockito/Mockito.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import org.mockito.exceptions.misusing.PotentialStubbingProblem;
88
import org.mockito.exceptions.misusing.UnnecessaryStubbingException;
99
import org.mockito.internal.MockitoCore;
10-
import org.mockito.internal.creation.proxy.ProxyMockMaker;
1110
import org.mockito.internal.creation.MockSettingsImpl;
1211
import org.mockito.internal.framework.DefaultMockitoFramework;
1312
import org.mockito.internal.session.DefaultMockitoSessionBuilder;
@@ -1591,7 +1590,7 @@
15911590
* The JVM offers the {@link java.lang.reflect.Proxy} facility for creating dynamic proxies of interface types. For most applications, Mockito
15921591
* must be capable of mocking classes as supported by the default mock maker, or even final classes, as supported by the inline mock maker. To
15931592
* create such mocks, Mockito requires to setup diverse JVM facilities and must apply code generation. If only interfaces are supposed to be
1594-
* mocked, one can however choose to use a {@link ProxyMockMaker} that is based on the {@link java.lang.reflect.Proxy}
1593+
* mocked, one can however choose to use a org.mockito.internal.creation.proxy.ProxyMockMaker that is based on the {@link java.lang.reflect.Proxy}
15951594
* API which avoids diverse overhead of the other mock makers but also limits mocking to interfaces.
15961595
*
15971596
* This mock maker can be activated explicitly by the mockito extension mechanism, just create in the classpath a file

0 commit comments

Comments
 (0)