Skip to content

Commit 0c35851

Browse files
author
Tibor Digana
committed
clarified the purpose of SynchronizedRunListener
1 parent f8016a4 commit 0c35851

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Diff for: src/main/java/org/junit/runner/notification/SynchronizedRunListener.java

+7-2
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,17 @@
55
import org.junit.runner.Result;
66

77
/**
8-
* SynchronizedRunListener decorates {@link RunListener} and
9-
* has all methods synchronized.
8+
* SynchronizedRunListener decorates {@link RunListener}, has all methods
9+
* synchronized and is <em>not</em> public.
10+
* <p>
11+
* Due to backward compatibility, this synchronized listener behaves thread
12+
* safe as {@link RunListener} in the old synchronized {@link RunNotifier}.
1013
*
1114
* @author Tibor Digana (tibor17)
1215
* @version 4.12
1316
* @since 4.12
17+
*
18+
* @see RunNotifier
1419
*/
1520
@ThreadSafe
1621
final class SynchronizedRunListener extends RunListener {

0 commit comments

Comments
 (0)