Permalink
Browse files

Merge pull request #329 from stefanbirkner/constructor

Removed explicit constructor of JUnitCore
  • Loading branch information...
2 parents 130408b + 143c334 commit 3b55eacda031fe3cffe8a45d458995be040b4438 @dsaff dsaff committed Sep 28, 2011
Showing with 1 addition and 8 deletions.
  1. +1 −8 src/main/java/org/junit/runner/JUnitCore.java
@@ -25,14 +25,7 @@
* @see org.junit.runner.Request
*/
public class JUnitCore {
- private RunNotifier fNotifier;
-
- /**
- * Create a new <code>JUnitCore</code> to run tests.
- */
- public JUnitCore() {
- fNotifier= new RunNotifier();
- }
+ private final RunNotifier fNotifier= new RunNotifier();
/**
* Run the tests contained in the classes named in the <code>args</code>.

0 comments on commit 3b55eac

Please sign in to comment.