GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Remove useless thrown exception from constructor (#2732) · mockito/mockito@2ded10e

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src/main/java/org/mockito/junit
    • MockitoJUnitRunner.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/main/java/org/mockito/junit/MockitoJUnitRunner.java‎

Copy file name to clipboardExpand all lines: src/main/java/org/mockito/junit/MockitoJUnitRunner.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
* }
6969
* </code></pre>
7070
*
71-
* If you would like to take advantage of Mockito JUnit runner features
71+
* If you would like to take advantage of Mockito JUnit runner features,
7272
* but you cannot use the runner there is a solution!
7373
* {@link MockitoSession} API is intended to offer cleaner tests and improved debuggability
7474
* to users that cannot use Mockito's built-in JUnit support (runner or the rule).
@@ -154,7 +154,7 @@ public MockitoJUnitRunner(Class<?> klass) throws InvocationTargetException {
154154
this(new StrictRunner(new RunnerFactory().createStrict(klass), klass));
155155
}
156156

157-
MockitoJUnitRunner(InternalRunner runner) throws InvocationTargetException {
157+
MockitoJUnitRunner(InternalRunner runner) {
158158
this.runner = runner;
159159
}
160160

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.