Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #329 from stefanbirkner/constructor

Removed explicit constructor of JUnitCore
  • Loading branch information...
commit 3b55eacda031fe3cffe8a45d458995be040b4438 2 parents 130408b + 143c334
authored September 28, 2011
9  src/main/java/org/junit/runner/JUnitCore.java
@@ -25,14 +25,7 @@
25 25
  * @see org.junit.runner.Request
26 26
  */
27 27
 public class JUnitCore {
28  
-	private RunNotifier fNotifier;
29  
-
30  
-	/**
31  
-	 * Create a new <code>JUnitCore</code> to run tests.
32  
-	 */
33  
-	public JUnitCore() {
34  
-		fNotifier= new RunNotifier();
35  
-	}
  28
+	private final RunNotifier fNotifier= new RunNotifier();
36 29
 
37 30
 	/**
38 31
 	 * Run the tests contained in the classes named in the <code>args</code>.

0 notes on commit 3b55eac

Please sign in to comment.
Something went wrong with that request. Please try again.