Skip to content

Commit

Permalink
Update javadoc regarding deletion of deprecated classes (mockito#1868)
Browse files Browse the repository at this point in the history
  • Loading branch information
scordio authored and epeee committed Jun 22, 2020
1 parent 66c45d8 commit ed753a7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* Since this class is internal, e.g. it resides in "org.mockito.internal" package,
* Mockito team can change it without the need for major version release of Mockito.
* <p>
* This interface was deprecated in Mockito 2.10.0 and will be deleted in Mockito 3.0.
* This interface was deprecated in Mockito 2.10.0 and will be deleted in Mockito 4.0.
*/
@Deprecated
public interface InternalMockHandler<T> extends MockHandler {}
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
/**
* Handler, that call all listeners wanted for this mock, before delegating it
* to the parameterized handler.
*
* Also imposterize MockHandlerImpl, delegate all call of InternalMockHandler to the real mockHandler
*/
class InvocationNotifierHandler<T> implements MockHandler<T> {

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/mockito/runners/MockitoJUnitRunner.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* Runner moved to a new place see {@link org.mockito.junit.MockitoJUnitRunner}
*
* @deprecated Moved to {@link org.mockito.junit.MockitoJUnitRunner}, this class will be removed with Mockito 3
* @deprecated Moved to {@link org.mockito.junit.MockitoJUnitRunner}, this class will be removed with Mockito 4
*/
@Deprecated
public class MockitoJUnitRunner extends org.mockito.junit.MockitoJUnitRunner {
Expand Down

0 comments on commit ed753a7

Please sign in to comment.