From efbd1d1dd1ab039ad1fcb18a0d3b5f220cafaef4 Mon Sep 17 00:00:00 2001 From: "S.YAMAMOTO" Date: Sat, 30 Oct 2021 19:38:12 +0900 Subject: [PATCH] Fixes mockito#2460: Remove a sentence commits to a particular version Because it's not planning on making this change anytime soon --- src/main/java/org/mockito/Mockito.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/org/mockito/Mockito.java b/src/main/java/org/mockito/Mockito.java index 8d7154c513..b96009b0ec 100644 --- a/src/main/java/org/mockito/Mockito.java +++ b/src/main/java/org/mockito/Mockito.java @@ -1627,8 +1627,6 @@ public class Mockito extends ArgumentMatchers { * ReturnsSmartNulls 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 null is returned. *

- * ReturnsSmartNulls will be probably the default return values strategy in Mockito 4.0.0 - *

* Example: *


      *   Foo mock = mock(Foo.class, RETURNS_SMART_NULLS);