Skip to content

Commit

Permalink
Remove redundant double "now" in JavaDocs for mock without class (#2994)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerFrZocker committed Apr 30, 2023
1 parent 3b38a7e commit 747b15e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/mockito/Mockito.java
Expand Up @@ -1648,7 +1648,7 @@
* <h3 id="54">54. <a class="meaningful_link" href="#mock_without_class" name="mock_without_class">
* Mocking/spying without specifying class</a> (Since 4.9.0)</h3>
*
* Instead of calling method {@link Mockito#mock(Class)} or {@link Mockito#spy(Class)} with Class parameter, you can now
* Instead of calling method {@link Mockito#mock(Class)} or {@link Mockito#spy(Class)} with Class parameter, you can
* now call method {@code mock()} or {@code spy()} <strong>without parameters</strong>:
*
* <pre class="code"><code class="java">
Expand Down

0 comments on commit 747b15e

Please sign in to comment.