Skip to content

Commit

Permalink
Fixes #2460: remove a sentence commits to a particular version (#2461)
Browse files Browse the repository at this point in the history
Because it's not planning on making this change anytime soon
  • Loading branch information
flyaway2112 committed Oct 30, 2021
1 parent d052721 commit f54aa92
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/java/org/mockito/Mockito.java
Expand Up @@ -1627,8 +1627,6 @@ public class Mockito extends ArgumentMatchers {
* <code>ReturnsSmartNulls</code> first tries to return ordinary values (zeros, empty collections, empty string, etc.)
* then it tries to return SmartNull. If the return type is final then plain <code>null</code> is returned.
* <p>
* <code>ReturnsSmartNulls</code> will be probably the default return values strategy in Mockito 4.0.0
* <p>
* Example:
* <pre class="code"><code class="java">
* Foo mock = mock(Foo.class, RETURNS_SMART_NULLS);
Expand Down

0 comments on commit f54aa92

Please sign in to comment.